Undefined function in expression

M

MarkitSpook

I created a custom function in a Access module and use it in a report query. It works fine when I open Access and view or print the report. But if I have Visual Basic open the Access Application and print the report I get a undefined function error.
 
D

Douglas J. Steele

You can't use user-defined functions with Access from outside of Access.

--
Doug Steele, Microsoft Access MVP

(no e-mails, please!)


MarkitSpook said:
I created a custom function in a Access module and use it in a report
query. It works fine when I open Access and view or print the report. But if
I have Visual Basic open the Access Application and print the report I get a
undefined function error.
 
Top