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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top