All: RBG95_64 Latest
Q: How do I "refresh" a Variable Edit Control after recovering from an input error? Scenario: I've embedded a format mask ( 00:00;1;_ ) within a Variable Edit control ( ve_GateRunTime ) to capture a TEXT representation of a date: HH:MM. Success. The ON EXIT EEP runs the input value through a series of error detection tests. Also success. Upon error, the EEP delivers up appropriate PAUSE statements, refers handling to Fail routine which nulls variables. Focus returns to the PREVIOUS control in the tab order. I can then [TAB] to ve_GateRunTime and reenter. If I include these two statements: PROPERTY ve_GateRunTime SET_FOCUS 'TRUE' PROPERTY ve_GateRunTime FIRSTCHAR 'TRUE' ... at the end of in the Fail routine, focus "never leaves" ve_GateRunTime. While the cursor is correctly placed, the control accepts no input. [TAB]bing beyond that generates: 'Unrecognized global variable in expression. (2161)' [OK] 'Expression cannot be evaluated. (2179)' TRACE then locates the error at a line number far beyond the number of lines in the EEP. ??? Thanks much, Bruce Chitiea SafeSectors, Inc. eCondoMetrics 909.238.9012 cell

