|
If the function keys are defined as CAxx (command action), then only the command key value is passed to the program. If you have keyed anything into input capable fields on the screen before hitting CA03, then only CA03 gets passed, not the keyed data. If you press Enter before hitting CA03 then the input fields get passed, but the program must display the screen again. Pressing CA03 on the redisplay only passed the command key, the other data was already in the program. If the function keys are defined as CFxx (command function), then they work as Enter plus the Command key. Thus, if you have keyed anything into the fields before pressing CF03, then the input gets passed to the program along with the command key value. I was taught to use CA keys if the program was not not use the data on the screen, for instance F3 (cancel), F12 (Return). Use CF if the command key has a purpose along with the data, like F4 + value to prompt for values starting with keyed value, F2 to verify the data on the screen etc. Good luck Ragnar Torfi Geirsson Sjova-Almennar tryggingar hf. Reykjavik Iceland -----Original Message----- From: Rajeev Asthana [SMTP:Rajeev_Asthana@paramount.com] Sent: 22. mars 1999 21:16 To: rpg400-l@midrange.com Subject: Pressing Enter on Input field Hi, Is it necessary to press Enter after entering the value in an input filed of a non-subfile record format? I have a program that uses a subfile to get input values. There I don't need to press Enter after entering a value. I just press a function key such as F3 to save the value in the file. But if I'm trying to do so in a simple non-subfile record format, it's not doing, I have to press Enter first and then press the function key to save. Is there another way around? Thanks, Rajeev. * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the RPG/400 Discussion Mailing List! To submit a new * * message, send your mail to "RPG400-L@midrange.com". To unsubscribe * * from this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe RPG400-L' in the body of your message. Questions should * * be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * This is the RPG/400 Discussion Mailing List! To submit a new * * message, send your mail to "RPG400-L@midrange.com". To unsubscribe * * from this list send email to MAJORDOMO@midrange.com and specify * * 'unsubscribe RPG400-L' in the body of your message. Questions should * * be directed to the list owner / operator: david@midrange.com * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *
As an Amazon Associate we earn from qualifying purchases.
This mailing list archive is Copyright 1997-2025 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.