Question:
How do you enter a 3 digit number in access?
Craig Payne
2010-05-21 12:31:26 UTC
Ok here is what I need to do:
ok here's the info:
create a table called student. Each student has:
unique id number(enter a 3 digit number)(required field)
last name(cannot be blank)
first name(cannot be blank)
phone number(format 999-999-9999)
state(default NY)
sex(M,F,U)

So my question is how do I enter a 3 digit number under the unique ID number? The default it gives is a 1 digit number and everytime I try deleting it, i can't.(the numbers they give is 1 then 2 then 3,etc) It won't let me delete the number its given and therefore I am unable to give the ID number a 3 digit #. So is there a way to fix this?
Four answers:
Andrew L
2010-05-21 12:53:09 UTC
Hi. you are correct, the unique ID is an autonumber field. Access assigns numbers to it starting from 1,2,3 etc. The person who asked you this question doesn't fully understand autonumbering.



You can, however, format the autonumber. In table design, look at the grid at the bottom. One of these says "Format". Put 000 (3 zeroes). This will show up as 001, 002, 003 etc.
anonymous
2010-05-21 12:43:57 UTC
Either a number starting with a non-zero digit or use a text field. To a computer, the number you're actually giving it when you type 001 is 1 (leading zeros are text, not numeric).
Nick T
2010-05-21 12:38:33 UTC
You need to make it an integer number with a range 100-999
anonymous
2016-06-03 08:31:10 UTC
whats the serial number?did you check for the serial number in the side of the glove box? or service history book?


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...