INPUT ARRAY QUESTION
Posted in 1995
C> From: cpg5484@swuts.sbc.com (Sivagurn Ramanathan) > > In an INPUT ARRAY statement, is there some way to cause the cursor to go > down one (or more) rows without the user having to do anything? Here's > what I'm trying to do: after the user hits a function key, I want the > cursor to immediately move down to the next row. > C> This feature is obviously not available in INFORMIX. But sure there is a > work around for this problem. C> You need a sixth field in the array both screen and program array and this > could be defined as a noentry field. ... C> Here the field [a] would have to be defined on the screen form and the > program array. C> Now when the user presses a function key the code segment would look like C> ON KEY (F1) > NEXT FIELD fld_a C> Since field a is a no entry field the cursor would automatically drop down > to the next array element. I was going to say the same thing. The only additional point to mention is that unless delimiters " " is set in the screen form, you will see the field on the screen. Users might wonder about that. Also, (and most importantly) hopefully you have room for the extra three spaces required. This might sound trivial, but it has happened to me. Tim --- ~ SPEED 1.40 [NR] ~