Re: Unknown error -1176
Posted in 1996
Alan Goodman wrote: } } Hi, } } I have a menu that generates a forms error -1176, which is an unknown } error according to Informix. } } It happens at a customer site running on an HP (don't remember the OS } version but it is a very new system) using INFORMIX 4GL 6.03.UC1 and Online } 7.12.UC1. By the way, this system is running in Denmark, if that makes any } difference. } } Attached below is a example program that demonstrates the error if the } remarked out "Exit" command option is used instead of the 3 separate exit } commands that follow it. } } Has anyone seen this before? } } BTW: this code (with the offending line enabled) works on SCO using } INFORMIX 4GL 6.01.UD5 and online 7.10.UC2, also runs fine on HP using 4GL } 4.10, 4.12 and on sco using same 4GL versions. } } Thanks, } } Alan } } let pa_menu[5] = "e" } } command pa_menu[5] } exit menu } } ################################ } # use this code instead of the following 3 and -1176 unknown error happens. } # command key ( F4, 'e', Interrupt ) "Exit" "Exit Menu" } # exit menu } ################### } # these work } command key ( F4) } exit menu } command "Exit" "Exit Menu" } exit menu } command key ( Interrupt ) } exit menu } ################### } } end menu } } CLOSE WINDOW window_1 } } END main } Alan, I wouldn't be using the same letter ('e') twice in a command statement as I suspect this is something Informix don't like.I've tested your code with 4GL 4.11.UC1 on SCO and when I press the e key I get following message on the 2nd line Select: e e Exit which is yet another behaviour. Regards Tolis +---------------------------------------------------------------------+ | V+K Relational Solutions email: tvarnas@compulink.gr | | Deligiorgi 26 tvarnas@orbit.de | | 546 42 Thessaloniki Voice: (30) 31 820270 | | Greece Fax: (30) 31 865463 | +---------------------------------------------------------------------+