Text Box Validation

M

Mike Etzkorn

Is there any way to set the validation rule for a text box to be "R" followed by any 7 number, such as R1234567. I am trying but haven't been able to come up with anything.
 
K

Ken Snell

Use a validation rule such as this:

Like "R[0-9][0-9][0-9][0-9][0-9][0-9][0-9]"


--
Ken Snell
<MS ACCESS MVP>

Mike Etzkorn said:
Is there any way to set the validation rule for a text box to be "R"
followed by any 7 number, such as R1234567. I am trying but haven't been
able to come up with anything.
 
K

Ken Snell

Or

Like "R#######"


--
Ken Snell
<MS ACCESS MVP>

Mike Etzkorn said:
Is there any way to set the validation rule for a text box to be "R"
followed by any 7 number, such as R1234567. I am trying but haven't been
able to come up with anything.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top