when I upgraded to access 2009 functions in my database such as format() for dates is not recognized. I encountered this before when updating in access 97 but was able to fix it by refreshing the links in the code module. This does not work now.
give us an example
I think maybe you don't have a reference or two checked in VBA
open VBA editor and see if you have all of these
click "tools" menu then "reference"
X Visual Basic for applications
X Microsoft Access 9.0 Object Library
X OLE automation
If you are using ADO
X Microsoft ActiveX Data Object 2.1 (or higher)
If you are using DAO
X Microsoft DAO 3.6 Object Libary
I'm glad someone else is having this problem. I have a simple 4 field Query and report for birthday's. My report is set to have the Month as part of the page header - =format$([DOB],"mmmm". I receive the error undefined function 'Left' in expression.
I have deleted the report and query and used the wizards to recreat and still receive the same message. I'm puzzled.
This may be a bit irrelevant but please folks, tell me there isn't really an Access 2009 yet! I know Microsoft usually (try to) bring out new software the year before its name but 2009! I'm feeling like Rip van Winkel. Have fun! )
I believe I have the same trouble. My system at the house is running Windows 98 and everything works fine there but when I take it to the shop and attempt to run my database on a Windows 2000 machine none of the IIf functions work. Both machines have the same version of Access installed. What gives???? I will attempt your suggestions there and see if it fixes my problem.
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.