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
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20