4GL and form input
Posted in 2000
Topics: Connectivity: ESQL/C, 4GL & Embedded SQL
Hi, I have a form that contains a charachter field, and the field is to be updated. The problem is that if a user changes the contents of the field but presses the ACCEPT key, the changed contents of the field do not register. (I guess because the user did not hit return, causing the change to "take"). How can i force that buffer of info into the appropriate form field in this situation??
steveFarris wrote: > > Hi, I have a form that contains a charachter field, and the field is to > be updated. The problem is that if a user changes the contents of the > field but presses the ACCEPT key, the changed contents of the field do > not register. (I guess because the user did not hit return, causing the > change to "take"). How can i force that buffer of info into the > appropriate form field in this situation?? ON KEY (ACCEPT) CASE WHEN infield( char_fieldname ) LET data_struct.char_fieldname=get_fldbuf( char_fieldname ) WHEN infield...... END CASE EXIT INPUT Art S. Kagel
Thanks for all the help! The get_fldbuf() function is what i'm lookin' for. -- dang strange guitar music fer a midwesterner at http://www.mindspring.com/~nlymbo
steveFarris wrote: > Hi, I have a form that contains a charachter field, and the field is to > be updated. The problem is that if a user changes the contents of the > field but presses the ACCEPT key, the changed contents of the field do > not register. (I guess because the user did not hit return, causing the > change to "take"). How can i force that buffer of info into the > appropriate form field in this situation?? Are you sure that the accept key is defined, and also is set in the term you are using to send the correct sequence to the program. ? -- Compliments of QueriX -------------------------------------------------------------------------------------------------- QueriX 4GL Compilers are Informix 4GL Compatible, and Connection to other RDBMS such as Oracle. Hydra 4GL Compiler (Compatible with I4GL) Compile once, run everywhere Phoenix Windows GUI. (Front End to 4GL) Chimera Java GUI The only GUI you will ever need... (Front End to 4GL) Arachne Web Technology (Front End to 4GL on the Web & HTML Report Generator) ESQL/C Compiler For more details visit: http://www.querix.com/ ---------------------------------------------------------------------------------------------------