|
Am 17.06.2024 um 12:13 schrieb Frederik Vanderhaeghe via RPG400-L <rpg400-l@xxxxxxxxxxxxxxxxxx>:
Hello,
We have a client screen with the program behind it to do the validation and such. A normal RPGLE progam ;-).
But, as things become a bit more modern, we can get client information from other ways than just input via the screen. Via a webform, JSON file, ...
In order not to write the same validations everytime, we would like to make a seperate validation program that's used by each of these input methods.
Has anyone done anything like this before?
If so, how did you approach this? How do you give the errors back and how do you handle them to show the correct errors on the screen...
Kind regards,
Frederik
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.