>Hi Claudio
I tried the code as you suggested, in the load method and the init method, the m.fieldxx variable showed up, but when I tried it in another method, for example, the click event of a command button, the variable was not known.
Regards
Carmen
Hi Carmen
>
> Correcting what I wrote you before, 2 steps exist instead of an only one:
>
>
>STEP 1 -
CREATING THE VARIABLES FOR THE FORM'S ENVIRONMENT>
>
procedure myform.load
>sele myfile
>scatter memvar memo
>endproc
>
>STEP 2 -
REFRESHING THEM TO THE OBJECTS>
>
procedure myform.init
>sele myfile
>go top
>scatter memvar memo
>endproc
>
>I have almost a hundred programs that works fine and use it.
>
>PS: All variables m.myfield1,m.myfield2,m.myfieldN can be changed and handled
>with the use of some refresh
>
>
>CLAUDIO