Re: Breaking a query
Posted in 1992
Quoting Kevin Closson... > > I am re-visiting an issue that is age old. Many moons ago, during > my application development days, I obtained code that provides a 4GL > screen with the functionality of breaking out of a long query. > > Does anyone have a cut of this code. It was originally provided by > Informix in a Tech Note long about Version 1.10.00A... > The code your are refering to is on page 28 of Tech Notes "Spring 1989". This sounds good, and looks pretty straight forward but it just doesn't work. Problem #1... The setup_break() function doesn't have a return(0) which causes your 4gl code to die (easily fixed though). Problem #2... Even though the rsqbreak() function sets int_flag to 1, by the time you check it in the 4GL code, it's 0. Anyone have any clues??? Anyone from from Informix (Alan, Johnathon)??? BTW, I'm running Informix-4GL 1.10.03J. If I can get this working, you'll be seeing "db4glgen-3.5" real soon :-) DAS -- David A. Snyder @ Snide Inc. - Folcroft, PA Current Release is db4glgen-3.4 UUCP: ..!uunet!das13!dave INTERNET: Dave.Snyder@snide.com