Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Forums   Help   Contact   Merch   Join   Order   Logon  
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
difficulty compacting database
Carolyn Jaret 
    
3 years ago
when I try to compact my access database, i am frequently getting this message.  My database is only 53,000 kb so I don't think i should be having this issue.  Sometimes, i get the same message when I try to open it also

"The query cannot be completed. Either the size of the query result is larger than the maximum size of a database (2GB), or there is not enough storage space on the disk to store the query result."
Carolyn Jaret OP  @Reply  
    
3 years ago
even when I don't get the message about not being able to run the query when i try to compact and repair, or close the database, the database acts like it is compacting, but it doesn't compact.
Carolyn Jaret OP  @Reply  
    
3 years ago
even when I don't get the error message about the query being to large, the database may act like it is compacting, but it actually doesn't compact
Scott Axton  @Reply  
        
3 years ago
Is your database stored in a directory that is in OneDrive or Google Drive?  I've seen issues when a db is trying to update in either one of those.  See File Sharing
Kevin Yip  @Reply  
     
3 years ago
Hi Carolyn, check every one of your queries to see if they return too many rows.  It is not the size of your DB, but the size of the data returned by your query that causes this error.  My picture below shows two tables with 3000 rows each, but because of a missing join, this query will return NINE MILLION rows of data.  So check if you have any missing joins in your queries.  I can't think of any other mishaps that could cause such a dramatic increase in query size.  Is this a recently-occurred phenomenon?  If so, check the queries you have edited recently.
Kevin Yip  @Reply  
     
3 years ago

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Forum.
 

Next Unseen

 
New Feature: Comment Live View
 
 

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: 5/7/2026 2:59:46 AM. PLT: 1s