Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Home > Courses > Access > Templates > Compactor Template
Access Compactor Template

Automatically Compact & Repair Access Databases


 S  M  L  XL  FS  |  Slo  Reg  Fast  2x  |  Bookmark Buy Now

          Only $69
          Members pay as low as $34.50

This Microsoft Access template will automatically compact and repair your databases on a regular schedule. You can use it as part of a nightly or weekly event, or you can run it manually whenever you want. The template will also create backup copies of your original databases to avoid corruption. In the videos that accompany the template, I will teach you how to integrate this database into your existing Access applications.

Videos

Full Developer Database

Once you have purchased the full developer database template, come back to this page and download the full template. This will give you access to the ZIP file containing the Template ACCDB file. The full version will run on 32-bit or 64-bit Access 2007 or higher. Be sure to watch the User Guide video (above). You can use the template standalone as it is or if you watch the Developer Guide video I will show you how to integrate it into your existing Microsoft Access database applications including a nightly event.

Purchase Template

Please be sure to read the Before You Purchase section below before buying this template.

Order Now

Features

  • Compact All Backend Files in Folder
  • Auto Start Compact On Load
  • Make Backup Files Before Compacting
  • Close on Completion
  • Creates a Log File
  • Relaunch Original Database File
  • Run Standalone or From Other DB Events

Usage

The Access Compactor template can be used in three ways:

  1. You can import these components into your front-end database and launch it to just compact your back-end databases.
  2. You can keep this as a standalone database, launch it from your front-end (which stays running), and it compacts your backend databases and then closes.
  3. You can launch this database from your front-end (which closes down) and it compacts all of your database files (including the front-end) and then it re-launches your front-end when its finished.

Features

The Compactor can be programmed to auto start when the database opens. Compactor can make backups of your files before compacting them. These will be date/time stamped, so make sure you clean them out occasionally. It will optionally create a log file every use. Then when it is finished compacting you can optionally relaunch your original database.

In the Developer Guide video I will show you all the VBA that you need in order to launch the Compactor as part of a nightly event loop in your Access database, complete with a countdown timer.

In the Addendum video I show you how to make the compactor only run one day per week which I forgot to do in the Developer Guide.


 

Order Now

Before You Purchase

A few important notes before you purchase this template:

  • Please note that this is NOT a teaching database. You should have a strong background in developing Microsoft Access applications before attempting to setup this template with your database. You don't have to be an expert with Visual Basic, but you should know a little VBA. I strongly recommend taking my Access Developer 1 course first or at a bare minimum watching my Intro to VBA video.
  • If you just want to use this database as a standalone and run it manually then you don't need any programming experience however if you want to attempt to integrate this in your database or use the countdown loop to run it as a nightly event then you should know some VBA ahead of time.
  • In order for this template to work properly, you must follow the instructions in the User Guide video, above. If you post a comment saying that it's not working, and you didn't follow the steps, I'm going to say "I told you so."
  • Backup. Backup. Backup again! Be sure to test this on a backup copy of your database first!
  • Remember, we do our best to help you here in the Forums on the website, but technical support is not guaranteed.

Links

Possible Future Upgrade Ideas

  • Let me know if there's anything you'd like to see added

License

For internal use only. This template does NOT come with a royalty-free license. You may only customize the template for your business needs and for use within your organization at one location ONLY. You may not resell or distribute any form of this template to others without express written permission. Contact me for additional information on obtaining a license to distribute if you plan on including this template in a product you are reselling. Additional licenses are required if you plan on using this template with more than ten (10) employees or in multiple locations within your organization.

Not a Finished Product

Please keep in mind that most of my template databases are not designed to be finished products that are ready to go in a working environment. My templates are meant as starting points for you to customize for yourself so you don't have to reinvent the wheel. This requires that you have a basic understanding of Microsoft Access development. To work on most of my databases you should have completed my Access Beginner series and the first couple levels of my Expert series at a minimum. Most of my databases require knowledge of SQL and VBA as well. Keep in mind that most of my templates are not like off-the-shelf software. They're starting points for developers to be able to modify and use as their own. It really is going to be in your benefit to watch all of the prerequisite videos so you understand the database and how it works moving forward. This is not like QuickBooks where you just install it and use it. My templates are mostly designed for people who already have an understanding of how Microsoft Access works.

Customize For Your Needs

If you would like to discuss customizing this template for your needs, and integrating it into your current setup, please see my consulting page for details. While I no longer accept custom jobs that are specific to a single user, I may include your features in a future version of this template if they have mass appeal. If you are looking for custom enhancements made to this template just for you, visit my Developer Network.

Technical Support

Please note that technical support is NOT guaranteed for any of my courses, seminars, or templates. If you require help with modifying this template, you may post a question in the Forums, however an answer to your question is not guaranteed. If this template comes with an accompanying Seminar, then you should purchase that Seminar to see how the database was constructed. If not, then you should have taken the suggested courses. Most of my templates are designed on a Developer level and you should have a thorough understanding of SQL and VBA before attempting to modify them. If you have a problem with one of my databases, I will only support the unmodified database exactly as it's downloaded from my site. If you have modified it in any way, it may not be something I can help you with. You can post in the Forums, and I may be able to help you, but if the issue doesn't exist in my unmodified database, it's not something I can support.

Questions?

Got sales or customer service questions about this template? Feel free to contact me. If you have technical "how do I" questions about this template, you discover a bug, or want to suggest a new feature, then please post your comments below.

Keywords

microsoft access, ms access, ms access tutorial, #msaccess, #microsoftaccess, #help, #howto, #tutorial, #learn, #lesson, #training, #database, #template, Access Database Compact Tool, Automated Compact and Repair of Access, Automatically Compact and Repair, nightly event, weekly event

 

Comments for Access Compactor Template
 
Age Subject From
4 yearsMore InfoRichard Rost
3 yearsCompactorPatricia Todd
3 yearsAddendum Weekday CodeMichael Johnson
4 yearsExtented Cut VideoSteve Aguero

 

Start a NEW Conversation
 
Only students may post on this page. Click here for more information on how you can set up an account. If you are a student, please Log On first. Non-students may only post in the Visitor Forum.
 
Subscribe
Subscribe to Access Compactor Template
Get notifications when this page is updated
 
Intro In this video, I will show you how to use my Access Compactor Template, a standalone Microsoft Access database designed to help you automate the compact and repair process for your backend database files. We will cover how to set up and use the template to back up your files, create logs, compact and repair databases, and optionally relaunch your original database. You will also see how to configure options like auto start, closing on completion, and managing backup folders to keep your database files running smoothly.
Transcript Do you want to make sure that your database is properly compacted and repaired on a regular basis? Hi, this is Richard Rost with accesslearningzone.com. I just released my new Access Compactor Template. This is itself a standalone Access database that you can either incorporate into your existing database projects, or you can run it as a standalone.

I like to run it once a week to compact all of my backend database files. I have a lot of them. You just put this guy in your nightly event or your weekly event, or whatever you have, and I will show you how to set one of those up when you purchase the template.

The compactor will back up your files first if you want. Then it will compact and repair them, create a log file, and then it will exit and relaunch your original database, if you have a database that runs constantly like I do.

Here is the compactor. It is pretty straightforward to use. You pick your database folder. In my case, I have my database temporary folder set up here in my database. I have my front end file and then four backend files.

There is an option to have this auto start. When this database runs, it automatically begins the compact. Do that if you are going to be including this in some kind of a nightly or weekly backup.

The compactor can back up the backend files before it actually compacts them, which is a good idea. You can select "close when done," which means when the compactor is done with its job, it will just shut down. You can have it write out text logs so you can check that and make sure everything is working.

You can have it optionally relaunch your database. If you are going to close your original database so the compactor can compact it too, then you can have it relaunch that database and specify it down here.

Of course, you can always run the job manually by clicking on "perform compact." There it goes. It is relaunching my front end database. I front end my TechHelp free template. You can see it created a compact log right there, a text file. It notes everything that it backed up and how much space you saved.

These files have already been through this compactor about ten times, so they did not compact anymore. Here is a backup folder. The backups will be automatically named for you based on the date that they were compacted and backed up.

That is it. That is the Access Compactor. Very simple utility. It is an Access database. There are no other components to use or install.

Like I said, just run it as part of your nightly or your weekly backup routine and it will make sure all your backend databases stay nice and compacted.

If you have any questions, contact me or post them down below. For more information, visit my website at 599c.com/compactor. I will put a link down below you can click on. Thanks for watching. See you next time.
Quiz Q1. What is the main purpose of the Access Compactor Template?
A. To automate data entry in Access databases
B. To backup and compact Access database files regularly
C. To convert Access files to another format
D. To import Excel sheets into Access

Q2. How can the Access Compactor be used in your workflow?
A. Only as a manual tool
B. Only with cloud databases
C. As a standalone tool or incorporated into existing projects
D. Only for Access front end files

Q3. What feature does the compactor offer before compacting files?
A. Deleting old records
B. Backing up backend files
C. Sending emails to users
D. Encrypting database files

Q4. What option can you enable if you want the compactor to start when the database runs?
A. Manual start
B. Auto backup
C. Auto start
D. Scheduled task

Q5. What does "close when done" mean in the compactor settings?
A. It closes your computer when finished
B. It shuts down the compactor after finishing its job
C. It closes all open applications
D. It deletes temporary files

Q6. What type of file does the compactor optionally create as a record of its operations?
A. An Excel log file
B. An Access report
C. A text log file
D. A PDF summary

Q7. What does the compactor do if you want to compact the original database and then keep working in it?
A. Leaves it closed
B. Deletes the database
C. Relaunches the original database
D. Archives the database

Q8. How are backups named when using the Access Compactor?
A. By the user name
B. By the database size
C. Automatically based on the date compacted and backed up
D. Sequential numbers only

Q9. How often does the video creator recommend running the Access Compactor?
A. Every hour
B. Once a day
C. Once a week
D. Once a month

Q10. What needs to be installed or configured before using the Access Compactor?
A. Additional external components
B. Risk assessment tools
C. Nothing; it is a standalone Access database
D. A separate server license

Answers: 1-B; 2-C; 3-B; 4-C; 5-B; 6-C; 7-C; 8-C; 9-C; 10-C

DISCLAIMER: Quiz questions are AI generated. If you find any that are wrong, don't make sense, or aren't related to the video topic at hand, then please post a comment and let me know. Thanks.
Summary Today's video from Access Learning Zone introduces my new Access Compactor Template, a helpful tool designed to keep your Access databases compacted and repaired on a regular schedule. This template is a standalone Access database file. You can use it on its own or incorporate its features into your existing database projects, depending on your needs.

Personally, I prefer to run this utility weekly on all of my backend database files. Since I manage quite a few databases, this approach saves time and helps maintain performance. You can schedule the compactor to run as part of a nightly or weekly maintenance routine. When you purchase the template, I will show you how to set up such automated events.

One of the template's main features is its backup function. Before performing the compact and repair process, it backs up your files if you choose that option. Afterward, it compacts and repairs the databases, creates a detailed log file recording all activity, and will even exit and relaunch your original database, which is especially useful if you run a database continuously.

Using the compactor is fairly straightforward. You simply specify your database folder. In my example, I demonstrated this using my own database setup, which includes a front-end file and four separate backend data files. The template provides an option to start the compact process automatically whenever the database opens. This is ideal for any automated maintenance schedule that you may want to implement.

You can also set the compactor to perform backups before compacting, which is strongly recommended. There is an option to have the tool close itself when finished, and you can also enable text log creation. This makes it easy to review the process and ensure everything ran smoothly.

If your workflow requires it, the compactor can even relaunch your primary database after finishing its work. This is handy if you close your main database to allow the compactor to process the frontend as well as the backends. All you have to do is specify the database file to relaunch.

Manual operation is also possible at any time. You just tell it to perform the compact process, and it will handle the entire sequence for you. For example, in my demonstration, you can see the utility automatically relaunching my TechHelp Free Template front end and generating a compact log file that details what backups were made, which files were compacted, and what space savings were achieved. Since these test files had already been compacted several times, there was no further reduction in size for this demonstration.

Backup files are organized into a designated folder, and each backup is automatically named based on the date it was created, making it easy to manage and locate previous versions.

Overall, the Access Compactor is a straightforward utility. Since it is built using Access itself, you do not need to install any extra components or worry about compatibility.

Just include it in your periodic maintenance schedule, and it will help your backend databases remain optimized and trouble-free. If you have questions, please feel free to reach out or leave a comment. You can find a complete video tutorial with step-by-step instructions on everything discussed here on my website at the link below.

Live long and prosper, my friends.
Topic List Compacting and repairing Access databases on a schedule
Setting up the Compactor Template as a standalone tool
Integrating the compactor into nightly or weekly events
Selecting and configuring database folders for compaction
Automatically starting the compactor process
Backing up database files before compaction
Enabling auto-close after compaction completes
Writing and reviewing compaction log files
Optionally relaunching the database after compaction
Manual operation of the compactor tool
Automatically naming backup folders by date
 
 
 

The following is a paid advertisement
Computer Learning Zone is not responsible for any content shown or offers made by these ads.
 

Learn
 
Access - index
Excel - index
Word - index
Windows - index
PowerPoint - index
Photoshop - index
Visual Basic - index
ASP - index
Seminars
More...
Customers
 
Login
My Account
My Courses
Lost Password
Memberships
Student Databases
Change Email
Info
 
Latest News
New Releases
User Forums
Topic Glossary
Tips & Tricks
Search The Site
Code Vault
Collapse Menus
Help
 
Customer Support
Web Site Tour
FAQs
TechHelp
Consulting Services
About
 
Background
Testimonials
Jobs
Affiliate Program
Richard Rost
Free Lessons
Mailing List
PCResale.NET
Order
 
Video Tutorials
Handbooks
Memberships
Learning Connection
Idiot's Guide to Excel
Volume Discounts
Payment Info
Shipping
Terms of Sale
Contact
 
Contact Info
Support Policy
Mailing Address
Phone Number
Fax Number
Course Survey
Email Richard
[email protected]
Blog RSS Feed    YouTube Channel

LinkedIn
Copyright 2026 by Computer Learning Zone, Amicron, and Richard Rost. All Rights Reserved. Current Time: 4/30/2026 1:29:25 AM. PLT: 2s
Keywords: templates access Access Database Compact Tool, Automated Compact and Repair of Access, Automatically Compact and Repair, nightly event, weekly event  Page Tag: whatsnew  PermaLink  Microsoft Access Compactor Template