Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / New Users / January 2005

Tip: Looking for answers? Try searching our database.

compacting database doesn't reset autonumber (ver 2000)

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
JulieD - 24 Jan 2005 15:05 GMT
Hi All

this is the first time ever that i've experienced a situation where deleting
a couple of records (ID 3 & 4, leaving ID 2 as the highest number) and then
compacting the database HASN'T reset the autonumber ID of the next new
record back to 3 ... but i had 6 machines today that all put the next record
in at #5.  They were all Access 2000 machines running SR-1.

Any ideas on why compacting the database didn't reset the autonumber, and
more importantly, any ideas on how to re-set the autonumbers now?

BTW there is no data in any of the other tables - just this one.

Cheers
JulieD
JulieD - 24 Jan 2005 16:13 GMT
don't worry - found answer

http://support.microsoft.com/default.aspx?scid=kb;en-us;q287756

Cheers
JulieD

> Hi All
>
[quoted text clipped - 12 lines]
> Cheers
> JulieD
anonymous@discussions.microsoft.com - 24 Jan 2005 16:16 GMT
access auto numbers don't reset. period.
this is the problem access auto number usually caused by
deleting records.(a no-no. you should mark the records
somehow ie open, complete, canceled, inactive, active,
other, ect. this also prevents gaps in the number sequence)

>-----Original Message-----
>Hi All
[quoted text clipped - 14 lines]
>
>.
JulieD - 24 Jan 2005 16:25 GMT
have a look at the link i posted .. .it is actually called a "BUG" my MS ...
in this case we are entering test data and want to be able to delete the
data when the database is finished to put it into production - therefore we
would like to reset the IDs.

Cheers
JulieD

> access auto numbers don't reset. period.
> this is the problem access auto number usually caused by
[quoted text clipped - 28 lines]
>>
>>.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.