265 pts.
 rpg/400
Please advice me how i need to validate the subfile field in subfile. example: user entering the data in subfile, if user enters wrong data in subfile field then i need to show error to user. please advice me any keyword to resolve..

Software/Hardware used:
ASKED: April 15, 2009  3:02 PM
UPDATED: April 15, 2009  9:02 PM

Answer Wiki:
You were working on the code http://itknowledgeexchange.techtarget.com/itanswers/rpg400-23/ When you readc the subfile record if the value is in error put the error message id into your variable run your subroutine to add error message to error message subfile turn on an indicator on the Field with DSPATR(RI) to highlight the field Update the subfile record. Turn off the error DSPATR(RI) indicator after updating or reading the record. Phil
Last Wiki Answer Submitted:  April 15, 2009  9:02 pm  by  philpl1jb   44,070 pts.
All Answer Wiki Contributors:  philpl1jb   44,070 pts.
To see all answers submitted to the Answer Wiki: View Answer History.


Discuss This Question:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _