|
EXFMT DISPLAY *Validate XFIELD because there is a display attribute of CHECK(ER) on the field and the user has entered data into the field C if Xfield <> SavedXField C exsr validate XField C else *NORMAL PROCESSING C endif ============================= ================================ --------------------------------------------------------- Booth Martin http://www.MartinVT.com Booth@xxxxxxxxxxxx --------------------------------------------------------- -------Original Message------- From: RPG programming on the AS400 / iSeries Date: Wednesday, August 06, 2003 1:47:07 PM To: rpg400-l@xxxxxxxxxxxx Subject: CHECK(ER) and Field Validation How can I let my program know that CHECK(ER) is being used and to run a validation routine on the field that has CHECK(ER). I'm using CHECK(ER) on a field I want validated as soon as the user enters in the last position of the field. Is there a way to have a validation routine run only when CHECK(ER) is being used. The program is an RPGIII program. I'm open to easier/alternative suggestions of accomplishing this same task. I would like something similar to: EXFMT DISPLAY *Validate XFIELD because there is a display attribute of CHECK(ER) on the field and the user has entered data into the field ================================ ================================ *NORMAL PROCESSING ============================= ============================= If there are other ideas on how I can accomplish this, please let me know. Thanks, Frank
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.