Re: Interrupt key in search screen aborts with error -1141
Posted in 1994
Alex Sauleung Lee (alexlee@uxmail.ust.hk) wrote: > In version 4.11 UC1 this is a known bug. It is fixed on version 4.2. > I have encountered once and a person from Informix (who??? forgotten) > send me a short routine written in C to fix it. May be your must > contact Informix about it. > - Erik Chong -- Here is the short routine: #include <sqlfm.h> extern _EFwindow *_Ww_main defercount() { (_Ww_main)->ucount--; return(0); } In the 4GL program, do the following modification: main define where_clause char(50) defer interrupt open window w_main at 5,3 with form "xxx" construct where_clause on fld1, fld2 from sfld1 if int_flag = 0 then close window w_main else let int_flag = 0 call defercount() close window w_main end if end main I got this short hint from my hotline in Germany (GUP). Hope this helps... Dirch +----------------------------------------------------------------------------+ | Dirch Scheer email: scheer@stadt-mh.de | | Amt 10-3 Tel. : +49 208 455 1006 | | Stadtverwaltung (snail-)Mail : Ruhrstr. 32 | | Muelheim an der Ruhr D-45468 Muelheim an der Ruhr | |----------------------------------------------------------------------------| | Inspiration gave them the motivation to move on out their isolation | +----------------------------------------------------------------------------+