General information
Category:
Forms & Form designer
Pamela, thanks for the reply.
>To what is lnFormValue scoped? When you use the toolbar to close the >form is the next line of code executed the same as when you use the >form button?
The code is something like..
LOCAL lnFormValue
DO FORM myForm TO lnFormValue
IF lnFormValue=lnAnotherValue... etc.
Problem update...
I have investigated the problem further and have now placed the same code in the click methods of both the toolbar close-button and a 'Close' button on the modal form itself.
IF _screen.activeform.queryunload()
_screen.activeform.release
ENDIF
When the form-button is pressed, the form closes and a value is returned to lnFormValue. When the toolbar button is pressed, the form closes, but no value is returned (if lnFormValue is not initialised, it doesn't even exist when control passes to the following line!) even though RETURN lnReturnValue is definitely executed in form.unload().
Any further ideas would be appreciated.
Regards,
Alan
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only