Hi Claudio,
The code I tried was pretty much what you have listed, I tried it both ways, I'm assuming that your click method is from a command button. In my application the method attached to the button did not recognize the memory variable m.??? . By the way, if you declared the memvar in the load method, why do you have to do it again in the init method? Does the scope of the variable change if you declare it in both methods? I will try the code again this evening.
>Hi Carmen;
>
>> 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.
>
>I have made this test to see if I am missing something here:
>
>
procedure thisform.load
>sele clients
>go top
>scatter memvar memo
>endproc
>
>
procure thisform.init
>sele clients
>go top
>scatter memvar memo
>thisform.refresh
>endproc
>
>
procedure thisform.click
>wait window "the value of the field is "+m.razaosoc nowait
>endproc
>
>
It works great, with no problem !!>
> ..Or for other option we have it:
>
>
procedure thisform.click
>wait window "the value of the field is "+thisform.text1.value nowait
>endproc
>
>
>CLAUDIO