Force 3 digit number

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

Guest

How can I force a number to be 3 digits? If someone enters a 1 can I have
Access store 001.
 
"001" is not a number -- it is text. Change you field to text and set the
format.
 
Ripper said:
How can I force a number to be 3 digits? If someone enters a 1 can I
have Access store 001.

You can use a text field. Remember that 001 is not a number the number
is 1, You can display it as 001 or you can call it text and save it as 001
but then you can't add 001 + 001 and get 002 you would bet 001001 . :-)
 
Ripper said:
How can I force a number to be 3 digits? If someone enters a 1 can I have
Access store 001.

look at formatting it as it's displayed, not when it's being stored
(assuming your data is always a number)
store
3
change the formating of the control showing it to 000
displays as
003
 

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