|
If you use CHECK(ER) on the input fields the screen will return back to the program when the last position of the field is filled. You than can retrieve the description for the code and resend the screen. Eduard. "Douglas W. Palme" <dpalme@xxxxxxxxxxxxxxxxxxxxx> wrote: I was wondering if this is possible and if so, if someone would point me in the right direction. I have a display file that a user uses to enter in motor vehicle citations, accidents, etc. There are three fields: a date of the violation field, the state in which the violation occured and a violation code field which accepts a numeric value between 01 and 99. what I would like to do is have the program display the corresponding description as soon as the user enters the code value, IE: they enter 01 and exit the field and a description field on the display file shows the description for that code. Suggestions? Or is this something that is better handled via help files? The problem I see with help files is constantly making changes as we enter new code violation codes or delete ones no longer needed. Suggestions? Douglas -- This is the RPG programming on the AS400 / iSeries (RPG400-L) mailing list To post a message email: RPG400-L@xxxxxxxxxxxx To subscribe, unsubscribe, or change list options, visit: http://lists.midrange.com/mailman/listinfo/rpg400-l or email: RPG400-L-request@xxxxxxxxxxxx Before posting, please take a moment to review the archives at http://archive.midrange.com/rpg400-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.