ACC: "Undefined Function in Expression" Error MessageID: Q123344
|
Moderate: Requires basic macro, coding, and interoperability skills.
When you call a user-defined function from within an aggregate (totals)
function, such as the Sum() function, in a report, you may receive the
following error message:
Undefined function '<function name>' in expression.
The user-defined function is located in the report module.
Transfer the user-defined function from the report module to a global module.
Microsoft has confirmed this to be a problem in Microsoft Access versions 2.0, 7.0, and 97.
ControlSource: =Sum(Notwork())
Function Notwork()
Notwork=8
End function
For more information about creating modules, search for "module," and then "Creating" using the Microsoft Access 97 Help index.
Keywords : kberrmsg
Version : 2.0 7.0 97
Platform : WINDOWS
Issue type : kbbug
Last Reviewed: April 7, 1999