I have a Public VBA function called GetAge which is used within a query within Access 2000.
This works fine when the query is run from within Access but fails with the following error message when the query is called via ODBC using ADO 2.5 from VB6:
[Microsoft][ODBC Microsoft Access Driver] Undefined function 'GetAge' in expression.
Any thoughts would be greatly appreciated.
This works fine when the query is run from within Access but fails with the following error message when the query is called via ODBC using ADO 2.5 from VB6:
[Microsoft][ODBC Microsoft Access Driver] Undefined function 'GetAge' in expression.
Any thoughts would be greatly appreciated.