Lets say i defined in my module a function named "Myfunction".

Elsewhere in the same module i want to use it in the following code :
Mydb.openrecordset("Select Myfunction(Arg1) from table1")

I am using visual basic 5.0

Thanks for your help.
Best regards
H