Re: Having to press ESC twice in I4GL
Posted in 1994
Joey Duhon — — source: Informix-list mailing list archive (1991-1998)
>>> Problem: >>> When the user hits the Accept key, the program does the verify and goes >>> to the next field, instead of leaving the INPUT as I thought it should. this isn't very clear... >>> Code: >>> INPUT BY NAME >>> AFTER FIELD id >>> IF status = NOTFOUND THEN >>> ERROR "Record not found: Bad ID or missing record" >>> NEXT FIELD id if you ask for the next field, you go to the next field; hitting accept will have no effect on this action. you might try reading the 4gl By Example manual for sample code.