Alan,
You can step through code in debugger to see where .T. value comes from.
>I am using a modal form to return a value to a variable as follows...
>
>LOCAL llFormVal
>DO FORM MyForm TO llFormVal
>
>Form.unload() contains a single line RETURN thisform.lReturnVal, where thisform.lReturnVal=.F., but when I check the variable llFormVal, it has changed to .T.! I haven't a clue how this can happen, has anyone any ideas?
>
>TIA
>Alan
--sb--