Solved

MS Access - Compact & Repair

Posted on 2013-06-13
3
647 Views
Last Modified: 2013-06-14
I have a database where all the tables are linked to another database. In addition to the linked tables, the database includes reports, queries, macros and a module.

Does a database with only linked tables require routine maintenance (compact/repair)?
0
Comment
Question by:Tim313
3 Comments
 
LVL 13

Expert Comment

by:Norm Dickinson
ID: 39244461
The compact/repair process is used for tables that contain data, and is especially helpful on tables which contain deleted data or are used for temporary storage of data such as a transaction table. The larger the amount of deleted data, the more often it should be run. It is not necessary on databases which operate correctly and contain little or no data or only static data.
0
 
LVL 20

Accepted Solution

by:
clarkscott earned 500 total points
ID: 39247621
Actually, an Access "front-end" with no data can still grow in size.  Especially if you have coded sql statements dynmaically created and run.
Access creates under-the-cover things, such as query execution plans, and such.... which can add bytes to your application over time.
You can solve this by going to the applications properties and set "compact on close".

Scott C
0
 

Author Closing Comment

by:Tim313
ID: 39248871
Thank you both for your replies.

I do a weekly compact/repair on the BE, but not on the FE. I have noticed that over time the FE was increasing in size, hence the question. I had thought that without data there was no need, but could not figure out why the increase in size.  I'm using a VB2010 application (running on both computers) that does have sql statements dynamically created and run. I'll add the code I have for routine compact/repair on the BE application to the FE application.

Thanks again!
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

The first two articles in this short series — Using a Criteria Form to Filter Records (http://www.experts-exchange.com/A_6069.html) and Building a Custom Filter (http://www.experts-exchange.com/A_6070.html) — discuss in some detail how a form can be…
I see at least one EE question a week that pertains to using temporary tables in MS Access.  But surprisingly, I was unable to find a single article devoted solely to this topic. I don’t intend to describe all of the uses of temporary tables in t…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

830 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question