ACC2000: How to Call Functions by Using a String Variable (210511)
The information in this article applies to:
This article was previously published under Q210511 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
This article describes how you can call Visual Basic for Applications functions or user-defined functions when the function name is stored in a string variable. This method provides a functionality similar to that of pointers to functions in other programming languages.
REFERENCESFor more information about the Eval() function, click Microsoft Access Help on the Help menu, type eval function in the Office Assistant or the Answer Wizard, and then click Search to view the topic.
Modification Type: | Major | Last Reviewed: | 6/30/2004 |
---|
Keywords: | kbhowto kbinfo kbprogramming KB210511 |
---|
|