The information in this article applies to:
Moderate: Requires basic macro, coding, and interoperability skills. This article applies only to a Microsoft Access database (.mdb). SYMPTOMSWhen 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:
CAUSEThe user-defined function is located in the report module. RESOLUTIONTransfer the user-defined function from the report module to a global module. STATUSMicrosoft has confirmed this to be a problem in the Microsoft products listed at the beginning of this article. MORE INFORMATIONCAUTION: Following the steps in this example will modify the sample
database Northwind.mdb. You may want to back up the Northwind.mdb file
and perform these steps on a copy of the database.
Steps to Reproduce Problem
ControlSource: =Sum(Notwork())
REFERENCESFor more information about creating modules, in the Visual Basic Editor, click
Microsoft Visual Basic Help on the Help menu, type "creating modules" in
the Office Assistant or the Answer Wizard, and then click Search to
view the topic. Additional query words: pra
Keywords : kberrmsg kbdta |
Last Reviewed: May 18, 1999 © 2000 Microsoft Corporation. All rights reserved. Terms of Use. |