Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Prevent the autonumber change to 0 when compacting

Status
Not open for further replies.

budich

Programmer
Oct 7, 2000
79
0
0
ID
Does anyone know how to compacting a back end database without change the autonumber field to zero. Normally when we compacting a database, it also change the number in autonumber field to zero.
thank you in advance
Budi
 
The only way that I know of is to make sure there is at least one non deleted record in the table before compacting the database.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top