Re: ON KEY (ACCEPT)
Posted in 1994
Topics: General Discussion
Paul Fabozzi (merlyn@panix.com) wrote: : 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. : I would live to see how some of you guys handle such a situation. It would seem to me that it would be much easier to do the error checking in "after input" instead of on key (accept), and simply "continue input" if there's something wrong. (Of course, checking int_flag to see if they pressed interrupt instead of accept). Ryan -- /************************************************************** * Ryan McFall * * Dept. of Computer Science * * Michigan State University * * mcfallry@cps.msu.edu * * * * My statments do not reflect the opinions of MSU, * * Heck, they probably don't even make sense! * *************************************************************/