Free Lessons
Courses
Seminars
TechHelp
Fast Tips
Templates
Topic Index
Forum
ABCD
 
Home   Courses   TechHelp   Help   Contact   Merch   Join   Order   Logon   Forums   
 
Back to Access Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Invalid operation Error 3219
John Muir 
     
3 years ago
Started doing this about 2 weeks ago.

When i close the front end and reopen later, I get this error and can't use the db. To work around, I have to grab a backup db, reconnect it to the backend.

I've tried/succeeded at making a trusted folder but that didn't help. Also tried compact and repair to no avail.

This only happens on my PC. it doesn't happen on the 3 other PCs on our network.

Per the error "help" button:

Possible causes:

You tried to write to a read-only property. See the Help topic for the property to determine whether it is read/write.

You tried to use a method or property on a type of Recordset object that the method or property does not apply to. See the Recordset object summary topic to determine which methods and properties apply to a given type of Recordset object.

You tried to append a property to a Properties collection of an object that does not support user-defined properties.

You tried to use the Update method on a read-only Recordset object.

Haven't been abl to fix. Can anyone help?

Thanks,

John
Kevin Yip  @Reply  
     
3 years ago
If the error comes from VBA, you need to find out which line of code triggers the error.  If the error occurs when the DB opens, find out what code runs when Access opens, usually in the autoexec macro.
John Muir OP  @Reply  
     
3 years ago
Thanks Kevin,

The error occurs when the DB opens.

How do I find out what code runs when Access opens?

Thanks,

John
Kevin Yip  @Reply  
     
3 years ago
See if you have an "autoexec" macro.  It runs when your database opens.  Also check if you have a start-up form specified in Access options.  That form opens, and its On Open event runs, if any, when your database opens.
John Muir OP  @Reply  
     
3 years ago
i don't see that I have any autoexec macros. I do have a start-up form listed in the "current Database" tab called SWITCHBOARD". it looks like that form ha an"After update" event procedure:
   Private Sub Form_AfterUpdate()
   Forms!switchboard!Graph396.Requery
   End Sub

Also have a "maximize" on open.

is that form somehow corrupt?
Kevin Yip  @Reply  
     
3 years ago
Remove the start-up form from the options, then start Access to see if the error is gone.  If so, your start-up form is likely the culprit.  Open the form from the navigation pane.  If the error occurs, see if it takes you to debug mode, with a yellow line highlighting the code that causes the error.

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

Next Unseen

 
 
What's This?

 

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: 9/5/2026 10:09:37 PM. PLT: 1s