Re: ON KEY (ACCEPT)
Posted in 1994
Topics: General Discussion
In article <merlyn.1.2E9C175D@panix.com> merlyn@panix.com (Paul Fabozzi) writes: >Its 2 weeks before we are ready to go live with our program, and I ran into an >interesting bug. When I use the ON KEY (ACCEPT) To test if the data in the >INPUT is ok, It does not apply the current edited field, if im in one. > >IN OTHER WORDS: If a user updates a record, and goes to a field to update it, >and after updating the field (while still in it) he hits ESC, the current >field is not saved, it will be reverted. This is a nightmare for me, because >I will have users that swear they updated something, and the database will say >they are lying. > Unless there is something special you are doing in the processing, there is no reason to use ON KEY (ACCEPT). Use AFTER input and check the status of int_flag. If they did not break out then exit normally. - Karl -- Karl R. Kokko | kkokko@harriet.rencorp.com REN Corporation - USA | (615) 353-4146