|
This is one of those easy say than done thing. CHECK(ER) is essentially equal to user key something on the field and press enter. Because of the enter key got activated, you program gets control back, which you could then populate the description field. Easy right. Well, it depends on the application. You will need to do some tweaking to differential between regular enter and CHECK(ER) enter if your application is doing some editing or go to the next process when user press enter. Some of the tricks to do that are: 1) Using CHANGE keyword. 2) Save the before image of the field and compare to see if the value has been changed. 3) User cursor position. -----Original Message----- From: rpg400-l-bounces@xxxxxxxxxxxx [mailto:rpg400-l-bounces@xxxxxxxxxxxx]On Behalf Of MWalter@xxxxxxxxxxxxxxx Sent: Tuesday, November 30, 2004 10:05 AM To: RPG programming on the AS400 / iSeries Subject: Re: Is this possible and if so You'll want to look at the CHECK(ER) keyword for your DDS. Thanks,
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.