RE: Fwd: Element Positioning at start of INPUT ARRAY statement.
Posted in 1996
Use an input array with all noentry fields and a dummy, invisible one. You'll find the code you want, courtesy of Dennis J. Pimple, in the informix faq. look at www.iiug.org. ciao, marco ____________________________________________________________________________ rem radioterapia, which I immeritately manage, seldom agrees with what I say marco greco (Catania, Italy) Work: marcog@ctonline.it rem radioterapia 39 95 447828 fax 446558 (was mar.greco@agora.stm.it) Achea 39 95 503117 --- On Sat, 15 Jun 1996 05:59:22 -0400 DMurray370@aol.com wrote: [SNIP] For my current project it is necessary to: 1) Display a result list 2) Have the user select an item from the result list 3) Take the user to an edit screen for the selected item 4) Refresh the result list based on the edits the user made. 5) Redisplay the result list for further selection Problem: In order to accomplish this, I am performing the same DISPLAY ARRAY command in both steps 1 and 5. The DISPLAY ARRAY command assumes that your always going to want to start from array position 1, so when I refresh my result list and redisplay my list the user is automatically brought to the top of the list. This is an issue because the user could have been at item#250 and have to manually scroll all the way back to get to their original position. ** Is there anyway to have the DISPLAY ARRAY start displaying the array a specific position or do I have to write my own version of the DISPLAY ARRAY statement? Thanks Dave Murray Albany, NY -----------------End of Original Message-----------------