G
Guest
Hello everybody,
I would like to inform you that this question is not for novices...
I have an Access query that uses a VBA public user-defined function (reside
in an module) to calculate one query's field. When I directly run the query
everything is ok. BUT..when the query is run from outside the ACCESS (for
example through VB6 ADO code to result a recordset: rs.open "query") then the
jet engine issues an error message: "Undefined Function 'FunctionName' in
expression". It seeems that jet engine doesn't execute the function if the
query is run outside the Access. I have searched the web and I found some
information but we will analyze them after your comments.
I would like to inform you that this question is not for novices...
I have an Access query that uses a VBA public user-defined function (reside
in an module) to calculate one query's field. When I directly run the query
everything is ok. BUT..when the query is run from outside the ACCESS (for
example through VB6 ADO code to result a recordset: rs.open "query") then the
jet engine issues an error message: "Undefined Function 'FunctionName' in
expression". It seeems that jet engine doesn't execute the function if the
query is run outside the Access. I have searched the web and I found some
information but we will analyze them after your comments.