I tried using the built-in function InStrRev in a query. Even though this function is documented in the VBA help system, I get an "undefined function" error message when I run the query. I'm using Access 2000 and my references are VBA, Access 9.0 Object Library, OLE Automation, MS ActiveX Data Objects 2.7 Library, and MS DAO 3.6 Object Library. How can I get Access to recognize this function?