Click here to Skip to main content
15,891,136 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
I have an User Defined Function in ms-access and i want to call this
udf in a sql query in visual basic 6.How Can I do this?Pls.Help
Posted

1 solution

You will probably have to create a querydef in the database that receives the parameters needed by the udf, executes the udf and returns a value or a recordset. callthe querydef like it was a stored procedure with ADO. I don't believe you can call the udf directly outside of the database.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900