I am trying to create an SQL query from my VB program to extract data from an Access query called "HeaderQuery".
One of the fields in "HeaderQuery" uses a function I wrote, called "ConvDate", within a database module to convert a number to a date (e.g. 10112003 to 10/11/2003).
This works fine within the database, but when I try my SQL query I get an error message "Run-time error '3085': Undefined function 'ConvDate' in expresion".
Any advice would be appreciated.
One of the fields in "HeaderQuery" uses a function I wrote, called "ConvDate", within a database module to convert a number to a date (e.g. 10112003 to 10/11/2003).
This works fine within the database, but when I try my SQL query I get an error message "Run-time error '3085': Undefined function 'ConvDate' in expresion".
Any advice would be appreciated.