Re: move x number of records in 4gl
Posted in 2000
Austin Castro wrote: > > Hi Guys, > Is there a function in 4gl to move x amount of records in the fetch list > where x represents a number pressed by user like there is in a perform > screen. If not, can any body give me any ideas as to how I can implement > such a facility. I'm thinking about having a menu options which prompt > for the number of rows to move forward of backward but that seems to be > clumsy. > > Thanks > Austin We use the "COMMAND KEY" Menu options to build up a number, then use that number when the function called when users press "Next" or "Previous" menu options. (The "Command Key" options don't show up on the screen) COMMAND KEY ("0") WHENEVER ERROR CONTINUE LET q_off = q_off CLIPPED, "0" WHENEVER ERROR CALL error_sql COMMAND KEY ("1") WHENEVER ERROR CONTINUE LET q_off = q_off CLIPPED, "1" WHENEVER ERROR CALL error_sql COMMAND KEY ("2") ... -- Colin McGrath cmm@trac3000.ueci.com Raytheon Constructors Inc. (215) 422-4144 Philadelphia, PA, USA Any opinions I state are my own and not necessarily those of my employer