In a code file - CMD or EEP - is there a way to clear what RBG7 thinks is the last keystroke prior to calling a stored procedure that, among other things, tests for (LASTKEY(0))? In this case, the SP loads a form with a variable date picker. I put a button on the form for "select date". I go to all this trouble so I can use the date picker in code yet control all the colors of the calendar.
My function returns the date selected and an integer - either 1 or 0 - indicating whether [Esc] was pressed. Problem is it erroneously returns 0, indicating [Esc], when [Esc] was not pressed. This can happen when a PAUSE was executed just prior to the SP call and the user pressed [Esc] then. What I need to do is tell R:Base to fageddabout the previous keystroke and correctly report what just happened, which may be one or more mouseclicks only.
IOW, a mouse click is not overriding the previous keystroke. I have tried using (chkkey(0)) and (getkey(0)) to no avail.
Emmitt Dove Manager, DairyPak Business Systems Blue Ridge Paper Products, Inc. 40 Lindeman Drive Trumbull, CT 06611 (203) 673-2231 [EMAIL PROTECTED] [EMAIL PROTECTED]
