Avatar of Murray Brown
Murray Brown
Flag for United Kingdom of Great Britain and Northern Ireland asked on

Access strange Error

Hi
I am getting the following error on an Access form that has worked for years. I am not sure why

1
Microsoft Access

Avatar of undefined
Last Comment
Murray Brown

8/22/2022 - Mon
Mark Edwards

No idea when or where this is happening.  No idea what the code is that's failing....  This may be due to old code that has never run until now because the conditions to run it have just now been met.  Sounds like it involves a Click() event, or an ill-formed error handler or some other code that has moved the code execution to a subroutine that is ill-formed.

Given what we know - that the code has been working for years and now it doesn't - here's the only help I can give - what did you change?
Murray Brown

ASKER
Hi Mark. I deleted a button without deleting it's click event. I ended up just importing the form from a backup and deleted the same button and nothing went wrong. It may have been some kind  of corruption
ASKER CERTIFIED SOLUTION
John Tsioumpris

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
SOLUTION
Anders Ebro (Microsoft MVP)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Murray Brown

ASKER
thanks
Your help has saved me hundreds of hours of internet surfing.
fblack61