• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 560
  • Last Modified:

"The expression On Click you entered" yada yada yada...

I've created a form in MSAccess for Win95--nothing fancy, just a couple of buttons to go
to next record, open pre-defined forms, etc.  Suddenly all of the buttons have stopped
functioning, and report a compile error.  Each control was created using the control
wizard, so it shouldn't be coding (and the code is still there).  Am I missing a patch, or
should I wave dead chickens?

Thanks much,

Michael M Murphree
0
SAGEM
Asked:
SAGEM
1 Solution
 
ramromconsultant Commented:
Have you tried opening the form's module and compiling? That uwually pinpoints the problem.
0
 
zirconCommented:
Did you rename any tables involved in the form and controls?

...I kind of like the "wave dead chickens" approach, though.
0
 
martiCommented:
Could you submit the code with the exact statment where the error occurs?
0
Introducing Cloud Class® training courses

Tech changes fast. You can learn faster. That’s why we’re bringing professional training courses to Experts Exchange. With a subscription, you can access all the Cloud Class® courses to expand your education, prep for certifications, and get top-notch instructions.

 
guillemsCommented:
Do you make any change in the fields of your tables?

It's probably you change a name and the access doen't compile the database, and give you this error, so try to check every control in the form, and see if the controlSource has the right reference.
 
I hope this help you!
0
 
tstaddonCommented:
I have had this problem before. It usually occurs when there has been a code procedure set up which has been either replicated across different objects, or relevant objects have been  renamed. It also occurs when a macro is replaced with code.

Unfortunately, I couldn't fix it unless I deleted off the objects and recreated them.
0
 
SAGEMAuthor Commented:
Off to the butcher's...
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Cloud Class® Course: C++ 11 Fundamentals

This course will introduce you to C++ 11 and teach you about syntax fundamentals.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now