A family of Microsoft relational database management systems designed for ease of use.
Did you save the code in a standard module?
Did you name your module something other than DMedian?
Can you share more about how you used the function?
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
I'm trying to use the modem to calculate the median from https://msdn.microsoft.com/en-us/library/dd789431%28v=office.12%29.aspx?f=255&MSPPError=-2147217396 in Access 2007. I pasted this code into a new modem, saved it, closed and restarted the database, but I still get the error message "Undefined function 'DMedian' in expression" when i want to use in a query. Please help.
A family of Microsoft relational database management systems designed for ease of use.
Locked Question. This question was migrated from the Microsoft Support Community. You can vote on whether it's helpful, but you can't add comments or replies or follow the question.
Answer accepted by question author
Did you save the code in a standard module?
Did you name your module something other than DMedian?
Can you share more about how you used the function?
I renamed the module to D-Median and now it works. Thank you.