Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Scatter - Gather scoope.
Message
From
05/08/1998 14:51:05
 
 
To
05/08/1998 14:44:28
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00124208
Message ID:
00124210
Views:
20
>Hi All
>
>I have a system that work O.K. under VFP3 but Not working under VFP5.
>
>One Form1 do Scatter memvar Blank then it calls Form2 where it does Scatter memvar memo.
>
>It seems that the scatter memvar creating PRIVATE variables because the scatter in form2 are NOT updating the variables in Form1.
>
>Is there a way around this, where the first scatter will create Global variables without me dclaring the variables Global before the scatter in Form1 . or am I doing something wrong.
>
>Thanks
>Mo

You know sticking to variables you expose your code to situation when it will stop to work in ver. 6 or 7 or 8 :). VFP is not variable-oriented environment anymore. If you still want to use Scatter/Gather construction then look at SCATTER/GATHER NAME ObjectName, and you can always provide reasonable and checkable scope of this object linking it to form/app property.
Edward Pikman
Independent Consultant
Previous
Reply
Map
View

Click here to load this message in the networking platform