>>I've a problem on loading a form where the form name is contained in a string variable.
>
>Why isn't use the form name property? If this is for a multilingual issue or where the form name property need to be generated at load time, you may assign the form property at load time from your variable.
I'm sorry that I didn't send to detail information regrading ny problem.
Here goes :
I've created a form named Form1. I then create another form called Form2.
In Form2, create a command button called Command1.
For command button Command1 On Click Event, I've typed in the following statement:
Dim frm1 as string
frm1 = "Form1"
frm1.show
Then when I run the Form2 and click on command button Command1, error message appear.
-----------
The above scenario is just telling I want to call form using variable.
The purpose I want to do this is to have a table storing all my form name and to call all these
form by using grid control. This will help a lot when project enhancement comes where you
don't need to create buttons or screens to call all the new forms.
If any one of you guys know how to solved this problem, please send me a mail.
Thanks.
Low Chew Houng
MBf Information Services Sdn. Bhd.
Subsidiary Of MBf Group Of Companies
chewhoung@yahoo.com