|
Try CHECK(ER) on the field that you want to "trigger Enter." >From the InfoCenter: Keyboard control: When the CHECK keyword is used with a keyboard control code, it controls certain data-entry aspects. The valid keyboard control codes are: Keyboard Control Code Meaning ER End of record; equivalent to AUTO(RA) Use this code so that the workstation user does not need to press the Enter key. Whenever the workstation user keys a character (including a blank) into the last position of the field, the record is sent from the device just the same as if the Enter key had been pressed. If you also specify DSPATR(SP) for the field, the record is sent from the device as soon as the workstation user selects the field. If you use this function, it should be on the last field typed in by the user for this record. Option indicators are valid for this keyword. AUTO (Auto) keyword for display files The AUTO keyword is equivalent to the CHECK keyword as follows: AUTO(RA) CHECK(ER) AUTO(RAB) CHECK(RB) AUTO(RAZ) CHECK(RZ) The format of the keyword is: AUTO(RA [RAB | RAZ]) AUTO(RAB | RAZ) The CHECK keyword is preferred. See CHECK (Check) keyword for display files for an explanation of how to use these keywords. ---------------------- Scott Scott A. Schollenberger Chief Technology Officer TENEX Systems, Inc. 2011 Renaissance Blvd., Suite 100 King of Prussia, PA 19406 Phone: 610-239-9988 Ext. 305 Fax: 610-239-9995 E-mail: saschollenberger@xxxxxxxxxxxx Web: www.tenexsys.com IBM Certified Specialist - eServer i5 iSeries Technical Solutions Implementer V5R3 CONFIDENTIALITY NOTICE: This email message, including any attachments, is for the sole use of the intended recipient(s) and contains confidential and privileged information. Any unauthorized review, use, disclosure or distribution is prohibited. If you are not the intended recipient, please contact the sender by reply email and destroy all copies of the original message. ---------------------- "They that can give up essential liberty to obtain a little temporary safety deserve neither liberty nor safety." --Benjamin Franklin ---------------------- <c.chambers@xxxxx om> Sent by: To midrange-l-bounce <midrange-l@xxxxxxxxxxxx> s@xxxxxxxxxxxx cc Subject 12/08/2005 04:00 DDS Keyword - return control PM Please respond to Midrange Systems Technical Discussion <midrange-l@midra nge.com> Can anyone remind me how to code a DDS file so that any entry immediately returns control to the program rather than hitting the ENTER key, Here's hoping... -- This is the Midrange Systems Technical Discussion (MIDRANGE-L) mailing list To post a message email: MIDRANGE-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/midrange-l or email: MIDRANGE-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/midrange-l.
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].
Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.