|
I make the field CHECK(VNE AB) and leave it blank if I want to default *JOBD in the program. I do the same thing for output queue. If the user enters anything, it must be a valid object name. But they can blank out the field without an error if they don't know how to correct a problem. Charles L.Massoglia, President Massoglia Technical Consulting, Inc. cmassoglia@voyager.net In MI 517-676-9700 or in NC 919-363-9395 ----- Original Message ----- From: "Joep Beckeringh" <joep@beckeringh.myweb.nl> To: <RPG400-L@midrange.com> Sent: Wednesday, 28 March, 2001 14:31 Subject: Re: AS400 object name validation ? > Slava, > > Although CHECK(VN) makes sure the user cannot type in '*JOBD', it does not > stop the program from putting it on the screen. In other words: your > program could supply '*JOBD' as a default value and if the user changes it, > only valid names can be used. You could even supply a command key to > restore the default value. > > Joep Beckeringh > > > +--- > | This is the RPG/400 Mailing List! > | To submit a new message, send your mail to RPG400-L@midrange.com. > | To subscribe to this list send email to RPG400-L-SUB@midrange.com. > | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. > | Questions should be directed to the list owner/operator: david@midrange.com > +--- > +--- | This is the RPG/400 Mailing List! | To submit a new message, send your mail to RPG400-L@midrange.com. | To subscribe to this list send email to RPG400-L-SUB@midrange.com. | To unsubscribe from this list send email to RPG400-L-UNSUB@midrange.com. | Questions should be directed to the list owner/operator: david@midrange.com +---
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.