>Hi to all
>
>Can somebody tell me which is the scope for the memory variables created with commands such as SCATTER MEMVAR and DIMENSION?
>
>For example, I have some forms that perform a SCATTER MEMVAR from a table in the INIT method of the form, but the methods of the rest of the components of the form (buttons, edit boxes etc) do not seem to "see" the memory variables created with SCATTER.
>
>Is there a way to force those commands to create PUBLIC variables?
>
>Thanks for your help
They are PRIVATE. To make them PUBLIC, declare the variables as PUBLIC before you use them.
PUBLIC Field1, Field2, MyArray[12]
Craig Berntson
MCSD, Microsoft .Net MVP, Grape City Community Influencer