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!

call a public function within query Access

Status
Not open for further replies.

studentcp

Programmer
Feb 12, 2007
15
CA
I have a public function (Percentile) in the modules, when I call it in Query, Access gives me "Undefined function'Percentile' in expression". Thanks in advance.
 
Make sure your module name, is not the same
as your function.
I often prefix my modules with "mdl"
"mdlPercentile"

Is Percentile, a reserved word in SQL?

Try fPercentile (prefix function with "f".
Much easier to identify in code.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top