|
-
Jul 29th, 2003, 10:21 AM
#1
Thread Starter
Addicted Member
Loading a form by it's name as a string [RESOLVED]
hey guys (and gals?),
I have an interesting(?) problem. I have the database table filled with form names that I want to load. And when I click on a treeview node I read the table, and get the name of the form associated with that node (they have the same ID/key). Now, the form name is in a string, how can I make that string into an object, and thus load it?
btw I thought about using the Forms collection, but soon found out that it only contains loaded forms.
Thanks in advance
--Vit
Last edited by Vitani; Jul 29th, 2003 at 10:30 AM.
If you can dream it, you can do it - Moo Power!
-
Jul 29th, 2003, 10:25 AM
#2
You can add forms to the Forms collection by their name...
Laugh, and the world laughs with you. Cry, and you just water down your vodka.
Take credit, not responsibility
-
Jul 29th, 2003, 10:30 AM
#3
Thread Starter
Addicted Member
omg, thank you! Brilliant.
If you can dream it, you can do it - Moo Power!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|