Solved

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

Posted on 1998-03-30
6
534 Views
Last Modified: 2011-09-20
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
Comment
Question by:SAGEM
6 Comments
 
LVL 17

Expert Comment

by:ramrom
ID: 1972403
Have you tried opening the form's module and compiling? That uwually pinpoints the problem.
0
 
LVL 1

Expert Comment

by:zircon
ID: 1972404
Did you rename any tables involved in the form and controls?

...I kind of like the "wave dead chickens" approach, though.
0
 
LVL 2

Expert Comment

by:marti
ID: 1972405
Could you submit the code with the exact statment where the error occurs?
0
Ransomware-A Revenue Bonanza for Service Providers

Ransomware – malware that gets on your customers’ computers, encrypts their data, and extorts a hefty ransom for the decryption keys – is a surging new threat.  The purpose of this eBook is to educate the reader about ransomware attacks.

 
LVL 3

Expert Comment

by:guillems
ID: 1972406
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
 
LVL 5

Accepted Solution

by:
tstaddon earned 50 total points
ID: 1972407
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
 

Author Comment

by:SAGEM
ID: 1972408
Off to the butcher's...
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

It took me quite some time to sort out all the different properties of combo and list boxes available from Visual Basic at run-time. Not that the documentation is lacking: the help pages are quite thorough and well written. The problem was rather wh…
QuickBooks® has a great invoice interface that we were happy with for a while but that changed in 2001 through no fault of Intuit®. Our industry's unit names are dictated by RUS: the Rural Utilities Services division of USDA. Contracts contain un…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…

919 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

23 Experts available now in Live!

Get 1:1 Help Now