benkingery
Registered User.
- Local time
- Today, 09:19
- Joined
- Jul 15, 2008
- Messages
- 153
I have a bunch of code that was written in 2003. I have since "upgraded" office computers to Access 2007. Now I am having issues running the same code that has worked without problems for ages.
An example: Date() doesn't work in VBA code or update queries. I'm given the message "Run-time error '3085': Undefined function "date" in expression.
Another example: In a query I have Format([Transaction_Date_006], "yyyymmdd"). This has worked flawlessly to give me the date as I need it for the column in the form of 20101015. Not so now.
Any idea? Am I missing an object library reference or something? The problems seem to have just cropped up recently.
Thanks,
Ben
An example: Date() doesn't work in VBA code or update queries. I'm given the message "Run-time error '3085': Undefined function "date" in expression.
Another example: In a query I have Format([Transaction_Date_006], "yyyymmdd"). This has worked flawlessly to give me the date as I need it for the column in the form of 20101015. Not so now.
Any idea? Am I missing an object library reference or something? The problems seem to have just cropped up recently.
Thanks,
Ben