Having said that it shouldn't really matter what number the auto number is unless of course you are using that number to represent something meaningful, in which case don't, there are numerous threads concerning the inadvisability of using the auto number for anything other than providing a unique primary key for your data. The oft suggest alternative is to use the Dmax() function +1.
Here's a quick sample you can look at, it's probably a little more complex than what you are currently after but it will give you an idea of what can be done.
Thank you John for the quick replay and worm welcome
The reason why i wanted to use TRANCATE , because in SQL Server this command is really fast compare with normal DELETE operations as it is no logging anything in transaction log. So, if we have table with several hundreds of thousands records, i would think delete in Access will take some time to perform, that is why i was thinking about an alternative way to delete everything from a table.
Thank you!
Thank you! but it seems that there is no easy alternative, what you have described it is ok, but it is not worth it, so i will stick with the normal delete
thank you !