Error (3085) with Date() function

I converted my 97 db to 2000.  When checking to make sure all things looked ok, I came across 2 queries that won't run.  They both use the DATE() function in the criteria, because I want records for the current date.

I get this error message:
Undefined function Date() in expression

I went to the help section and this is a valid function....should still work in 2000.  

Is there something else I should have updated when I converted to 2000, or am I missing the obvious answer?

I appreciate all help!
michellejohnsonAsked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

michellejohnsonAuthor Commented:
Edited text of question.
0
BrianWrenCommented:
You need to open a Module design window, and then from the menu  look at Tools|References.

I suspect your reference to VBA is either not there at all, or has the word beside it "MISSING."

If either are the case, browse for the VBA dll, and reestablish the reference.

Brian
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
tkuppinenCommented:
To add to what BrianWren has said, if all the references are there try a repair and compact on the database.  I had this same problem with the Mid function and this seemed to solve it.
0
michellejohnsonAuthor Commented:
Thanks both of you.  I checked that all the references were there, and they were...except for utility.mda  I found the file and saved.  Still did not work. Then I ran compact and repair database.  Still did not work.  I went back in and checked off MS VB for Apps extensibilty 5.3

Problem fixed.

Thanks for the direction!

Michelle
0
michellejohnsonAuthor Commented:
Was at a total loss of where to go.  He pointed me in the right direction and I got my fix!
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Microsoft Access

From novice to tech pro — start learning today.