Solved

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

Posted on 1998-03-30
6
528 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
Find Ransomware Secrets With All-Source Analysis

Ransomware has become a major concern for organizations; its prevalence has grown due to past successes achieved by threat actors. While each ransomware variant is different, we’ve seen some common tactics and trends used among the authors of the malware.

 
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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

When you are entering numbers in a speadsheet, and don't remember what 6×7 is, you just type “=6*7" instead. It works in every cell! This is not so in Access. To enter the elusive 42 in a text box, you have to find a calculator, and then copy the re…
Regardless of which version on MS Access you are using, one of the harder data-entry forms to create is one where most data from previous entries needs to be appended to new records, especially when there are numerous fields and records involved.  W…
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…
In Microsoft Access, learn how to “cascade” or have the displayed data of one combo control depend upon what’s entered in another. Base the dependent combo on a query for its row source: Add a reference to the first combo on the form as criteria i…

758 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

20 Experts available now in Live!

Get 1:1 Help Now