N
nobody
I'm having a problem opening a certain form. Basically, this form is in
a database that has been coverted from 2003 to 97. A certain form
doesn't seem to want to open. When opening it directly (ie. double
clicking on it) it gives the error message:
"The expression On Open you entered as the event property setting
produced the following error: .
*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."
When trying to open it via a docmd.openform command:
"Run-time error '2501':
The OpenForm action was canceled.
You used a method of the DoCmd object to carry out an action in Visual
Basic, but then clicked Cancel in a dialogue box.
For example, you used the Close method to close a changed form, then
clicked Cancel in the dialogue box that asks if you want to save the
changes you made the form."
Does anyone know what the problem is? Because it seems to work fine
when running on Access 2003.
a database that has been coverted from 2003 to 97. A certain form
doesn't seem to want to open. When opening it directly (ie. double
clicking on it) it gives the error message:
"The expression On Open you entered as the event property setting
produced the following error: .
*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."
When trying to open it via a docmd.openform command:
"Run-time error '2501':
The OpenForm action was canceled.
You used a method of the DoCmd object to carry out an action in Visual
Basic, but then clicked Cancel in a dialogue box.
For example, you used the Close method to close a changed form, then
clicked Cancel in the dialogue box that asks if you want to save the
changes you made the form."
Does anyone know what the problem is? Because it seems to work fine
when running on Access 2003.