The onExit eep never fires because you never left the edit box. Can't you suppress the '[esc]' key for the form and make them press a button to exit. It should work ok then.
----- Original Message ----- From: <[email protected]> To: "RBASE-L Mailing List" <[email protected]> Sent: Friday, March 02, 2012 9:29 AM Subject: [RBASE-L] - Saving a variable edit What I'm doing: I have a form based on a dummy table, nothing but variables. If the user presses [esc] while in the last variable edit it does not save the value. I had a solution to this problem saved in my note document, but it doesn't work now that I need to use it. The exact posting from this list said: I put PROPERTY RBASE_FORM DONTSHOWSAVEDIALOG 'TRUE' in a test form and put the following in the onExit EEP and it saves the data. IF (LASTKEY(0)) = '[esc]' THEN PROPERTY TABLE IntCmd 'POST' ENDIF RETURN I replaced the tablename with my own table but it doesn't work. It seems that pressing [esc] from the last field doesn't even evaluate the field's "on exit" eep (I put a pause message in there it never shows). Has anyone else done this successfully? Karen --- RBASE-L ================================================ TO POST A MESSAGE TO ALL MEMBERS: Send a plain text email to [email protected] (Don't use any of these words as your Subject: INTRO, SUBSCRIBE, UNSUBSCRIBE, SEARCH, REMOVE, SUSPEND, RESUME, DIGEST, RESEND, HELP) ================================================ TO SEE MESSAGE POSTING GUIDELINES: Send a plain text email to [email protected] In the message SUBJECT, put just one word: INTRO ================================================ TO UNSUBSCRIBE: Send a plain text email to [email protected] In the message SUBJECT, put just one word: UNSUBSCRIBE ================================================ TO SEARCH ARCHIVES: Send a plain text email to [email protected] In the message SUBJECT, put just one word: SEARCH-n (where n is the number of days). In the message body, place any text to search for. ================================================

