Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Declaring variable
Message
From
07/06/2004 04:53:13
 
 
To
06/06/2004 16:03:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00910581
Message ID:
00910663
Views:
26

In my program:
STORE USERSYSTEM.USER_ID TO GCUSER
DO FORM C:\SAMPLES\FORM.SCX

When I run the program the form loads, but the variable is not recognized when referenced in the data environment on the form "VARIABLE GCUSER NOT FOUND". What is missing here? Thanks.
if GCUSER is LOCAL -> declare it PRIVATE or PUBLIC

if GCUSER is PRIVATE -> declare FORM like a Modal Form 
                        or use it only into FORM events fired before Form.Init event is terminated
                        or declare it PUBLIC
Previous
Reply
Map
View

Click here to load this message in the networking platform