ACC97: Error When You Click a Custom Command Bar Button (193167)
The information in this article applies to:
This article was previously published under Q193167 Moderate: Requires basic macro, coding, and interoperability skills.
SYMPTOMS
When you click a menu or button on a command bar, you may see the following
error message:
The expression you entered has a field, control or property name
that Microsoft Access can't find.
CAUSE
This problem happens when the database has a long file name, and you assign
a function using the following syntax:
.OnAction = "=<function name>()"
RESOLUTION
Do not include an equal sign (=) and parentheses (()) when you assign the
function to the OnAction property of the command bar. For example, assign
the OnAction property using the following syntax:
.OnAction = "<function name>"
STATUS
Microsoft has confirmed this to be a problem in Microsoft Access 97.
Modification Type: | Major | Last Reviewed: | 9/25/2003 |
---|
Keywords: | kbbug kberrmsg kbpending KB193167 |
---|
|