Here's everything you need to know about autonumbers...
Autonumber field in Table
http://www.mvps.org/access/general/gen0006.htm
Use Autonumbers properly
http://www.mvps.org/access/general/gen0025.htm
Have Autonumber field start from a value different from 1
http://www.mvps.org/access/tables/tbl0005.htm
Creating an AutoNumber field from code
http://www.mvps.org/access/tables/tbl0016.htm
HTH
--
Rob Mastrostefano
FMS Professional Solutions Group
http://www.fmsinc.com/consulting
Software Tools for .NET, SQL Server, Visual Basic & Access
http://www.fmsinc.com
"PD" <(E-Mail Removed)> wrote in message
news:5D03D87F-7261-4B4F-B36C-(E-Mail Removed)...
> Hello,
>
> Can anyone tell me how to programatically reset the autonumber count in a
> table in Access? I want to run a delete query to remove all rows, then
> append rows and have the autonumber field begin counting at 1. I don't
> want
> to make a new table with a new autonumber field, because I don't know how
> to
> do that in a macro or a module (how to make a new table, define the
> fields,
> create a new autonumber field). I have tried the method in the help file
> of
> appending to the autonumber field and it doesn't work. The autonumber
> field
> just picks up where it was before appending.
>
> Thank you for your help.