Hi Normand
if the form is modal try
do MyForm to m.lcAnswer
? m.lcAnswer
Hans
>Hi,
>
>I created a form containing these values:
>
>load: thisform.cRetVal = "OK"
>
>cmdAccept.click: thisform.cRetVal = "OK"
> thisform.release
>
>cmdNoWay.click: thisform.cRetVal = "NO"
> thisform.release
>
>Unload: return thisform.cRetVal
>
>My problem is that I receive .f. instead of the value expected. I follow the process with the debugger and the value of cRetVal is good in the Unload event.
>
>Is anybody can tell me what's wrong with this.
>
>Thanks,
>
>Normand