BUG: You receive an "Undefined Function in Expression" error message when you open a query that references a function (275110)
The information in this article applies to:
This article was previously published under Q275110 For a Microsoft Office Access 2003 version of this
article, see
824277. Moderate: Requires basic macro, coding, and interoperability
skills. This article applies only to a Microsoft Access database (.mdb).
SYMPTOMS When you try to open a query that contains a function, you
receive both of the following error messages. When you open any subsequent
query, you receive only the second error. Your Microsoft Access database or project contains a missing or broken reference to the file '<FileName>'.- To ensure that your database or project works properly, you
must fix this reference.
- To learn how to fix this reference, click Help.
when you click OK to the first error message, you receive a second message:
Undefined function '<FunctionName>' in expression.
CAUSE Your database contains a reference to a database, type
library, or object library that is marked as MISSING: <referencename> in the References dialog box. RESOLUTION To remove the missing reference, follow these steps:
- Open your database.
- Press ALT+F11 to open the Visual Basic Editor.
- On the Tools menu, click References.
- Click to clear the check box for the type library or object
library marked as MISSING: <referencename>.
An alternative to removing the reference is to restore the
referenced file to the path that is specified in the References dialog box. If the referenced file is in a new location, clear
the MISSING: <referencename> reference, and then create a new reference to the file in the new
folder.
STATUSMicrosoft has confirmed that this is a problem in
Access.
REFERENCES For
additional information about another problem that could cause the first error
message, click the following article number to view the article in the
Microsoft Knowledge Base: 283806
Visual Basic for Applications (VBA) functions break in a database with missing references
Modification Type: | Major | Last Reviewed: | 8/11/2004 |
---|
Keywords: | kbfunctions kbDatabase kbdesign kbQuery kbtshoot kbbug kberrmsg kbnofix KB275110 |
---|
|