Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL query an Access query with custom function

Status
Not open for further replies.

bluer8

Programmer
May 17, 2004
4
GB
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.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top