>> >Matt McDonnell
>>
>> I can do the ON KEY LABEL, but I am not sure about the following..
>>
>> >can't you put an exit button on the form to release it? Then, if you
>> >used doformretval, if the return value doesn't meet the required
>> >parameter, the user gets kicked out.
>>
>> could you give me an example of doformretval? I think I am missing the
>> boat..
>
>Since you mentioned yesterday using doform, I'm assuming you're using
>the TasTraders template. If not, this won't make a lot of sense.
>
>If you define a form class based on tsformretval, you can set it up to
>pass a result (return value) to the program that called it. (assign the
>return value to uretval)
>
>Call it by: myresult = oApp.doformretval('myretform')
>
>For your situation you could return a logical result
>
>IF oApp.doformretval('mydataform')
> oApp.do()
>ELSE
> oApp.cleanup()
>ENDIF
>
>HTH
>--
>Matt McDonnell
thanks Matt for the code.. why would I need to know if a FORM returns
a VALUE of .T./.F. ? I seem to be somewhere in left field on this one.
How about a small example?
thanks again..