Skip to Content
0
Former Member
Jan 28, 2010 at 12:05 PM

field validation

17 Views

Hi all,

i have field of length 9 as declared below.

ID(9) TYPE N,

this i need to check if it consists more than 8 digits it has to throw an error. this field should contain only 8 digits it should not contain 9 digits,

this is one condition for validation and we are not suppose to change the declaration as ID(8) TYPE N.

please help with code sample.

regards,

reddy