Re: Setting Current Row from within INPUT ARRAY.
Posted in 1992
Quoting Bill Suetholz... } } I did it, I wrote a function to allow me to set the current row } from within an Input Array statement. This is very useful... [description of function deleted...] } Other INFORMIX 4GL limitations that I'd like to see fixed are: } } o Ability to have after field, et all clauses within Construct, and Display } statements... (Mainly to be able to display the current field properly) } Informix-4GL v4.1 has that ability. } o Ability to have an ON KEY UP, Easy way to get the editted data from } within an ON KEY clause. You change some data, then hit a trapped key, } and your changes are gone. } Informix-4GL v4.1 can't do that exactly, but it can do this... AFTER FIELD fldname IF fgl_lastkey = fgl_keyval("UP") THEN } o I would like to be able to define the cursor display attributes for } entering data, ie current field will be reverse, blue - but when you } leave that field it goes back to it's original attribute. This would } eliminate the need for a lot of before and after field clauses for me. } Informix-4GL v4.1 has: OPTIONS DISPLAY ATTRIBUTE OPTIONS INPUT ATTRIBUTE } With regards to the c_setarr function, I don't think that I can give it } away. But at least you now know that something like this can be done. } Boy, what a shitty thing to do! Wet our appetites, dangle this little tidbit in front of us, and then say, "Nya, Nya... you can't have it." Hmph... Well I'm not going to be your friend anymore :-) DAS -- David A. Snyder @ Snide Inc. - Folcroft, PA Current Release is db4glgen-3.7 UUCP: ..!uunet!das13!dave INTERNET: dave.snyder@snide.com