My guess it has to do with the references in you database. If you do not add the correct VB reference you will not get the left function. Try this in the immediate window.
left("string",1)
See if it works. If not get the most current refernce library.
Thanks skip,
Why do references matter in a query? Because it is Access SQL that allows you to use VB functions in a query. DAO and ADO have nothing to do with it. Check to see if you have a reference to VB. I have seen this before.
Thanks for the valuable tip. I had the same error in a query. By compiling the entire application I received an error in a module that I began to code but never completed. The error I received when running the query had nothing to do with the query itself, but with an error in the incomplete module
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.