Mike: You're absolutely right. In most cases I WOULD disable the [esc] and make them press a button. This is one of those heads-up kind of DOS forms that I'm converting. Trying real hard to mimic the way DOS does this (hey, didn't I recently start a conversation on this??). I'll show her what I did as a workaround and tell her that I can locate a button right after the field that she can press a [spacebar] to select, and see which she prefers.
It still seems weird to me that the software thinks I've never "left" the edit box. I did enter the edit box, I pressed a key to get out of the edit box... Karen -----Original Message----- From: Mike Byerley <[email protected]> To: RBASE-L Mailing List <[email protected]> Sent: Fri, Mar 2, 2012 10:10 am Subject: [RBASE-L] - Re: Saving a variable edit 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 o exit. It should work ok then. ---- Original Message ----- rom: <[email protected]> o: "RBASE-L Mailing List" <[email protected]> ent: Friday, March 02, 2012 9:29 AM ubject: [RBASE-L] - Saving a variable edit What I'm doing: I have a form based on a dummy table, nothing but ariables. If the user presses [esc] while in the last variable edit it oes not save the value. I had a solution to this problem saved in my note document, but it doesn't ork 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 nd 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 hat 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 lse done this successfully? Karen

