|
Rob A is greater than blank, so > A should exclude blanks. But if they don't enter anything in the field, the field's modified data tag is not set on, and thus no error checking is done. a couple ways to fix this: validate your field in your program rather than in the dds. (my preference, it places all editing in the program, since most programs do more than just values checking) change the fields mdt to on: dspatr(mtd) hth, Rick simafrog <SimaFrog@xxxxxxxx To: RPG programming on the AS400 / iSeries <rpg400-l@xxxxxxxxxxxx> om> cc: Sent by: Subject: Comp in DDS rpg400-l-bounces@m idrange.com 03/15/2004 11:03 AM Please respond to RPG programming on the AS400 / iSeries HI I need to check a data entry field. It cannot be blank, but also must be greater than 'A'. COMP only lets you have one condition. I would like to do this in the DDS only. Thanks, Rob _______________________________________________ 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.