ken bohnenkamp
14th January 2003, 21:05
I have a 4 character text field that I am inputing in a form. Even though the field is character, I want to force a user to enter 4 digits as an account year and month. 0212 is a valid entry, A212 is not a valid entry. Is there an easy way to do this using a domain or do I have to do it through code. Any help would be appreciated.
tina.guntner
14th January 2003, 21:19
what about checking the input using isdigit function...
dnnslbrwn
14th January 2003, 21:54
Yes you may use domain rules to make it happen. Simply fill the field 'legal characters' with the string 0123456789 and the BAAN do the work.
Now, this will not help you if they try to enter month 13.
Cheers,
-Dennis
Oh... BTW, I am a BAAN IV guy and I have no clue what they did in ERP.