>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