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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Database slowly increasing in size

Status
Not open for further replies.

MBorofsky

Programmer
Nov 24, 2004
47
US
In order to reduce the runtime of some Access reports I am populating a table with query data and having the report pull from that table. The two steps to the process are
1) Removing the old data/deleting the old table.
2) Populating emptied tables and building new tables.

This has reduced the runtime of my reports by a factor of 5 (over just having them pull from the queries). Unfortunately, everytime a report is run the database increases in size by about 2 megs. Our staff knows enough to run compact and repair every now and then, but I'm fairly certain that our client (social workers who know nothing about computers) would be flabbergasted at the concept and inconvenience. Is there anyway that I can either prevent Access from saving all that unnecessary table changing or perform an automated 'compact and repair' from time to time?
 
If ac2k or above you may tick the option of automatic compact on close.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top