Re: ON KEY (ACCEPT)
Posted in 1994
Hi, > 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. I am sure that is a feature, not a bug :-) . I use the following statement in order to solve the problem: AFTER CONSTRUCT (or AFTER INPUT or ON KEY (ACCEPT) etc) LET my_var.field1 = get_fldbuf(field1) LET my_var.field2 = get_fldbuf(field2) LET my_var.field3 = get_fldbuf(field3) ...................... I hope the idea will help. Bye. --------------------------------------------------------------- Andrew Yu. Grachyov | Phone +7 (095) 928-6078 TERN, Moscow, Russia | +7 (095) 925-1785 andy@tern.msk.su | Fax +7 (095) 280-3870