Run-Time form loading - form name retrieved from database 
Author Message
 Run-Time form loading - form name retrieved from database

If I want to choose which form to load by looking the form name up in a
database, is there any way of mapping the string from the database straight
into the FORM type. i.e. I don't want to have to do a select case operation
on the string from the database I just want to do sRetrievedForm.Load
(where sRetrievedForm is the string from the database).

thanks
Lyn



Mon, 04 Oct 1999 03:00:00 GMT  
 Run-Time form loading - form name retrieved from database

Quote:

> If I want to choose which form to load by looking the form name up in a
> database, is there any way of mapping the string from the database straight
> into the FORM type. i.e. I don't want to have to do a select case operation
> on the string from the database I just want to do sRetrievedForm.Load
> (where sRetrievedForm is the string from the database).

> thanks
> Lyn

I believe you'll have to stick with the select case operation. I don't
think VB allows you to do sRetrievedForm.load

--
Shafayat Kamal

http://ourworld.compuserve.com/homepages/interface_enterprises



Tue, 05 Oct 1999 03:00:00 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Changing Form's BorderStyle property at run time but before form is loaded

2. Compare date in form with date/time in form with date/time in database

3. How to load form using form name from field

4. ???????? GURUS - Showing or Loading Forms by use of String variable containing Form Name

5. Load a form foven a form name

6. Loading a form at run-time

7. Loading a form at run-time

8. Help: Loading forms at run-time.

9. Run-time error '31037': Error load form file

10. Load form at Run time

11. Define the form to load at run time...

12. Adding (loading) a Form at Run-Time ?

 

 
Powered by phpBB® Forum Software