specific Number

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have set up a database containing part numbers. the part number is always
three numbers then a dash then five numbers. eg " 123-45678".
How do I make my part number field in my table only except this format and
how do I get a query to only except this format.
 
Open the table in design view, and define an input mask to the filed
999-99999
 
Ofer said:
I did try 999\-99999

And I tried it again just in case, and I can't enter any value beside
numbers

True, but you are free to only enter some of the numbers. For instance, with
9's, 123-456 is a valid entry.

If you remember, the poster stated the number is always 3digits-5digits
--
Arvin Meyer, MCP, MVP
Microsoft Access
Free Access downloads:
http://www.datastrat.com
http://www.mvps.org/access
 

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

Back
Top