Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Open Form from String Name 1

Status
Not open for further replies.

baugie

Programmer
Apr 9, 2003
56
US
I've figured this was easy, but have never figured it out. How can I open a form using using its name in a string variable? i.e.

Load strFormName

where strFormName is the name of the form?

Thanks in advance

baugie
 
Just do a keyword search in here. I've certainly answered this with example code on several occassions, most recently within the last week or so.
 
You might very likely want to browse Help under the topic CallByName. You'll find it is a very powerful way to use the properties and methods of objects when you have the name of either the object or the property/method in a string variable.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top