Is it possible to change the starting number in Auto Number?

J

Jussca

I'm creating a billing invoice and using the Auto Number feature. It is
possible to change the starting number (eg. from 1 to 0001)?
 
R

Rick B

Do a search and read the previous posts. Asked and answered all the time.
You should not use an autonumber field for this.
 
R

Rick B

Oops. I read your original post as 1 and 1000.

Lynn's post is more appropriate.

But, you still can find a hundred previous posts out there related to
formatting a number with leading zeros.
 
F

fredg

I'm creating a billing invoice and using the Auto Number feature. It is
possible to change the starting number (eg. from 1 to 0001)?

You should not be using an AutoNumber field for anything other than
assuring that each record's ID is unique.

If you wish to assign an Invoice number in a consecutive fashion,
create your own InvoiceNum field.
You can make it Number datatype, Integer field size.

Then increment it on your form in the InvoiceNum control's Default
Value property:
Nz(DMax("[InvoiceNum]","TableName"),0) + 1

Set the Format property of the field to:
0000

and it will display as 0001, 0002, etc.
 
Top