ACC2000: Parameter Arrays Do Not Work with NPV Function (268159)
The information in this article applies to:
This article was previously published under Q268159 Moderate: Requires basic macro, coding, and interoperability skills.
This article applies to a Microsoft Access database (.mdb) and to a Microsoft Access project (.adp).
SUMMARY
The NPV (Net Present Value) function is only available in Visual Basic for Applications. However, you can write a custom function so that the NPV function is accessible from Access objects such as forms, reports, and queries. This article demonstrates how to do this.
REFERENCESFor additional information on calculating values across rows, click the article numbers below
to view the articles in the Microsoft Knowledge Base:
209839 ACC2000: How to Calculate Row-Level Statistics
209857 ACC2000: Finding Minimum/Maximum Value Across Fields of Records
For more information about the NPV function, in the Visual Basic Editor, click Microsoft Visual Basic Help on the Help menu, type npv in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Major | Last Reviewed: | 12/12/2002 |
---|
Keywords: | kbdta kbhowto KB268159 |
---|
|