Autonumber?? Is there a better way??

M

Mac

I'm sure this issue has been addressed over and over in
past posts, so I apologize......but any advice would be
greatly appreciated.
I'm creating a database for our dept construction
drawings. We would like to start fresh with a new method
of assigning drawing numbers to new records. We would
like to include the year along with an automatically
assigned sequential number (ex 2003-001). The intent is
to have this number automatically be created in
the "Drawing No." field when new records are entered. Any
ideas??
Thank you in advance.
 
R

Rick Brandt

Mac said:
Works great with one exception.
In the table, the CreationDate field displays "2003" and
the ID field displays "000". In the form, it
displays "1905-000". I can't figure out why the date is
showing up as 1905. Suggestions???
Thanks again.... newbie here.

Creation date should be an actual Date, not the number 2003. If you are going to
just store the number of the year, then you don't need the Format([CreationDate],
"yyyy") part of the expression.
 

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