how to change primary key's data

D

Dennis

( sorry about my english )

in the form primary key as my order number( auto number start 1 then
2,3,4,.......

I have 1 problem when 2003 end then come up 2004 so the order number
still following the auto number.But i want the order number start from
number 1 then goes 2,3,.......,,, when the years of 2004 come up ?

any help please ...
 
J

Jeff Boyce

Dennis

Autonumbers are ... autonumbers. They provide a unique (usually) row
identifier. They are NOT guaranteed sequential. They are NOT fit for human
consumption. They are NOT re-settable for each year.

If you need an ID number that is guaranteed sequential, and that you can
reset each year, you'll have to create your own. Check Google.com and the
mvps.org websites for ideas about "custom autonumber".

Good luck!

Jeff Boyce
<Access MVP>
 

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