I have a form with an editable field that's supposed to take in a max of a 2 digit number. once they press a button, its grabs whatever the user typed in and sends it to a back-end program to be used in a dec(2,0) variable. the form's data source is just a dummy table with the column being declared as (12 AS pkgcount). The button is set to be disabled if the form is in error, but the user can still type in a numbers that's, say, 10 digits long, and the form will think its okay.
Is there any way to limit the field to only accept 2 digits?
Is there any way to limit the field to only accept 2 digits?

Comment