View Single Post
  #2  
Old September 7th, 2005, 05:22 AM
Allen Browne
external usenet poster
 
Posts: n/a
Default

Simplest way is to compact the database after deleting all records. That
should work in all versions of Access: if not, apply the latest service
packs for Office and JET, from:
http://support.microsoft.com/gp/sp

If you need to do it programmatically, it is possible in Access 2000 and
later to set the Seed of the Column in the Table, using the ADOX library.
There's a (rather involved) example of how to use these properties in this
link:
http://allenbrowne.com/ser-40.html

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Siegfried Heintze" wrote in message
...
When I delete my table contents (but not the table definitions) the auto
number counters are not reset. Is there a way to reset them?