Validation with rpt-opt.i

sfrischk

New Member
Hi all,

I am writing a custom report using rpt-opt.i and want to validate some of the input fields. For example, on the abc code I only want the user to be able to enter A, B, or C into the field.

Any assistance on how this is done would be greatly appreciated.

Thanks,
Shane Frischkorn
 

drsymix

New Member
Options Validation

In the at option, code a validate statement like
validate(index('ABC', input frame f-in i-abc) <> 0, 'ABC only silly user').

Since you have report source, look at item/item01-r.p.

Your exact validation is used in this program.

Good luck.
 
Top