>Hi:
>
>When I perform a DO FORM MyForm TO uResult AND I have a RETURN .F. in the Init of the form, I get a variable undefined as uResult.
>
>For example:
>
>DO FORM MyForm TO uResult
>? TYPE("uResult") && Returns "U"
>
>In my InInit:
>
>IF lCondition
> Thisform.ReturnValue = "1"
> RETURN .F.
>ENDIF
>
>In my Unload event I have:
>
>RETURN Thisform.ReturnValue
>
>
I need to capture a return value to uResult and return a .f. in the Init. Can it be done?>
Nope i returning .F. from Init prevents the form from being inited, so the3 method that would return the value is never invoked.