Re: Unable to locate error

alicejwz

Registered User.
Local time
Today, 19:19
Joined
Jul 9, 2003
Messages
91
Re: Unable to locate error

Hi all,

When I open the AC2Kdatabase I rec'd the error messages below.
MS Access
The expression On Error you entered as the event property setting produced the following error:
Variable not defined.

The expression may not result in the name of a macro, the name of a user-defined function, or Event Procedure.
There may have been an error evaluating the function, event, or macro.


This action can’t be carried out while processing a form or report evnet.
A macro specified as the OnOpen, OnClose, OnFormat,… setting contains an invalid action for the property.
When you click OK, an Action Failed dialog box will display the name of the macro that failed and its arguments.


The database opens to a main form w/ a subform but it only display the main form and it doesn't highlight the error code.
I checked code in the open evnet of the main form there were no changes made. I can't close the database or form(s) itself. I tried compact and repair it does nothing.
After display the following error messages it generate this error message and I was force to exit from db.
Ms Access for Windows has encountered a problem and needs to close. We are sorry for the inconvenience.
Please tell Microsoft about this problem.
...
Send Error Report Don’t Send

How can I find out where error is occuring?
 
I would systematically start disabling stuff until the error ends. Then you'll have it 90% licked. Start by removing events stuff on the form one at a time. Then maybe remove menu macros, etc. Then you may have to look at the sub form and individual control events...

:) Ken
 

Users who are viewing this thread

Back
Top Bottom