ACC: "Undefined Function" Error Message Referencing Column Property (101673)
The information in this article applies to:
- Microsoft Access 1.0
- Microsoft Access 1.1
- Microsoft Access 2.0
- Microsoft Access for Windows 95 7.0
- Microsoft Access 97
This article was previously published under Q101673 Novice: Requires knowledge of the user interface on single-user computers.
SYMPTOMS
When you try to run macro actions that contain a Where clause
(ApplyFilter, OpenForm, OpenReport, and FindRecord), and queries that
reference the Column property of a combo box or list box on a form, you
may receive the following error message:
Undefined Function '[Forms]![Formname]![Controlname].column' in
Expression.
CAUSE
Microsoft Access interprets any text followed by opening and closing
parentheses as a user-defined function.
RESOLUTION
If you wrap the expression inside the Eval() function as a text string,
Microsoft Access will consider the entire reference as a whole, and will
not try to parse it. For example:
Eval("[Forms]![Formname]![Controlname].column(2)")
STATUS
Microsoft has confirmed this to be a problem in the versions of Microsoft
Access listed at the beginning of this article.
REFERENCES
For more information about using the Column property in an expression,
search on "Column property," and then "Refer to a column in a list in an
expression," using the Microsoft Access 97 Help Index.
Modification Type: | Major | Last Reviewed: | 5/6/2003 |
---|
Keywords: | kbbug kberrmsg KB101673 |
---|
|