Bernard,
Try EXIT.
Randy Peterson
PS. Normally I simply run Button.eep USI 99 or some other number.
Then I have a case statement in the program which calls the form. Each
button on the form has a different number. That gives me the
flexibility to do additional processing when I exit. I use 99 to exit.
-- MenuForm.rmd
EDIT USING menuForm
CLEAR VAR vEndSW
SET VAR vEndSW INTEGER = NULL
SWITCH (.vButton)
CASE 99
SET VAR vEndSw = 99
BREAK
ENDSW
IF vEndSW = 99 THEN
EXIT
ENDIF
QUIT TO menuForm.rmd
I set a variable in the case statement so processing will complete
to the EndSw rather than exiting in the middle.
Bernard Lis wrote:
> I triedexitformclosewindowto close the current form from an eep called
> in that form. Neither closes my form Can anyone tell me how to do
> it?My object is to return to a different menu that I would normally
> return to. Bernie LisMegabytes, Inc.
================================================
TO SEE MESSAGE POSTING GUIDELINES:
Send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: INTRO rbase-l
================================================
TO UNSUBSCRIBE: send a plain text email to [EMAIL PROTECTED]
In the message body, put just two words: UNSUBSCRIBE rbase-l
================================================
TO SEARCH ARCHIVES:
http://www.mail-archive.com/rbase-l%40sonetmail.com/