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 Developer Forum    Comments List
Upload Images   @Reply   Bookmark    Link   Email   Next Unseen 
Disconnected Event Procedures
Colin Hursell 
      
3 years ago
I have noticed that very occasionally, event procedures in my VBA code become 'disconnected' from what is supposed to trigger them.  For example, a command button may have an associated Click() event that works normally for a long time but then for some inexplicable reason clicking the command button in question no longer triggers the Click() event.  If the event handling event is recreated with exactly the same code it works fine again.  I have only noticed this occur when I am developing other code in the project.

Has anyone else experienced this?  Is it just me (it's very occasional) and if so does anyone have any idea what might cause it?
Richard Rost  @Reply  
           
3 years ago
This usually only happens if you rename an object (like whatever button you made to fire that event). But yes, I've seen it happen randomly in other places too.
Colin Hursell OP  @Reply  
      
3 years ago
I meant to say that this has been happening without renaming anything.  Nice to hear that that I'm not losing it...
Richard Rost  @Reply  
           
3 years ago
You're not. It's random. I tried to lock it down once years ago, but I can't reproduce it faithfully, so I gave up. Just remember to backup, backup, and then backup again.

This thread is now CLOSED. If you wish to comment, start a NEW discussion in Access Developer 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/6/2026 10:19:02 PM. PLT: 0s