Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Using a Variable for Form Name
Message
 
To
03/08/2007 13:28:18
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01245857
Message ID:
01245860
Views:
19
Steven,

I do not understand you, you mean you did
test = "myform1"
Do Form &test
That should work in 6 and 9 no problems, but doing Do Form &myform1 won't work in either

>In version v6 I was able to assign a string to a variable test = "myform1" and then use Do Form &myform1 to call the form.
>
>This does not work in v9 can someone help?
"The five senses obstruct or deform the apprehension of reality."
Jorge L. Borges?

"Premature optimization is the root of all evil in programming."
Donald Knuth, repeating C. A. R. Hoare

"To die for a religion is easier than to live it absolutely"
Jorge L. Borges
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform