Re: cursor placement in an array
Posted in 1997
Stefan Weideneder — — source: Informix-list mailing list archive (1991-1998)
Manoj wrote: > > Hi, > > RE: INFORMIX - 4GL > > Please can someone tell me whether it is possible to position a cursor > on a particular row of a screen array, and how to do it. > > Thanks, > Hi, there are two functions, one to find the position inside your screen array, another one to find the position inside your array variable. If you would save the complete result into your array variable, or if you would store the absoltue position ( offset from the 1st row ) into your host-variable, then you can use the FETCH ABSOLUTE n statement to position your cursor at a specific position. But you will need a SCROLL CURSOR, in order to use FETCH ABSOLUTE. Bye Stefan