emptying a database of all old records

MissAJ

Board Regular
Joined
Sep 22, 2006
Messages
86
I use a particular database on a once yearly basis. If I fail to make blank copy of the original setup, is there a way to empty the database of all the old records without its picking up the record numbering where I left off (instead of starting again at 1)?
 

Excel Facts

Back into an answer in Excel
Use Data, What-If Analysis, Goal Seek to find the correct input cell value to reach a desired result

Marbles

Well-known Member
Joined
Feb 7, 2005
Messages
622
Auto number isn't very flexible, you would probably have to delete the autonumber field, compact and repair, then put the field back in. You can restart an autonumber field, but it's more trouble than it's worth. Someone else might know a better way though.
 

SydneyGeek

MrExcel MVP
Joined
Aug 5, 2003
Messages
12,251
As long as you have deleted all records in the system, a Compact and Repair will reset Autonumbers to 1.

C & R first removes unused space, then rebuilds the indexes. Once you have the "clean" version, stick a copy away for next year.

Denis
 

MissAJ

Board Regular
Joined
Sep 22, 2006
Messages
86
Thanks for the help. I didn't even know about Compact and Repair until you told me about it.
 

Forum statistics

Threads
1,137,366
Messages
5,681,071
Members
419,950
Latest member
BeckiJae

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Top