R
RipperT
I have a combobox that gets it's values from a field in a table. Limit to
list and auto-expand are both set to true. The (desired) validation rule is
that the entry must be a 6 digit number (String) and not contain any letters
or special characters. If I use an input mask, it kills the auto fill-in
behavior that I want by forcing the user to click at the exact left hand
side of the text box portion of the combo box. Also, it fills in the first
entire number it finds as soon as they type the first character, whereas I
want Access to fill in the number as they enter it. Is there a way to write
a validation rule that will check that the number is 6 characters in length
and will make sure that they enter only numbers, no letters or special
characters? I've written code that checks for length, but how do I check for
numbers only?
Thanx,
Rip
list and auto-expand are both set to true. The (desired) validation rule is
that the entry must be a 6 digit number (String) and not contain any letters
or special characters. If I use an input mask, it kills the auto fill-in
behavior that I want by forcing the user to click at the exact left hand
side of the text box portion of the combo box. Also, it fills in the first
entire number it finds as soon as they type the first character, whereas I
want Access to fill in the number as they enter it. Is there a way to write
a validation rule that will check that the number is 6 characters in length
and will make sure that they enter only numbers, no letters or special
characters? I've written code that checks for length, but how do I check for
numbers only?
Thanx,
Rip