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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

open function

Status
Not open for further replies.

webdevop

MIS
Sep 18, 2003
11
US
Can you open a module Public function from the
criteria line in query design view ?
If so what would be the build OR how would you call the function from query design view ?

Thanks, Webdevop
 
Hi, I don't think you can do that, you would be better off using vba recordsets to run your sql, then you can call your public function and use sql in the same vba event.
 
Hi webdevop,

If I understand correctly then you can use your own functions in a query in the same way as you use built in ones.

In the criteria line just enter =YourFunction(YourParam, YourNextParam) or similar.

In the BUILD interface, in the left hand column expand Functions then select your database; then in the middle column select the module you want and in the right hand column will be a list of available functions.

Enjoy,
Tony
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top