Solved

MS Access - Compact & Repair

Posted on 2013-06-13
3
657 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

Phishing attempts can come in all forms, shapes and sizes. No matter how familiar you think you are with them, always remember to take extra precaution when opening an email with attachments or links.
If you need a simple but flexible process for maintaining an audit trail of who created, edited, or deleted data from a table, or multiple tables, and you can do all of your work from within a form, this simple Audit Log will work for you.
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
In Microsoft Access, learn how to use Dlookup and other domain aggregate functions and one method of specifying a string value within a string. Specify the first argument, which is the expression to be returned: Specify the second argument, which …

634 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