Compile error: Can't find project or library

M

Michael

I just installed Office Enterprise 2007 and opened a database that I've been
using under MS Access 2000 for several years.
When I double click on one of the date fields I've set up on the form, code
is executed to set the field to the value of Date; e.g., "OrderedDate =
Date". With the new version of MS Access I now get a message that there's a
compile error and that the project or library is not found (MS Access doesn't
seem to understand the use of the Date function anymore).

I assume that the installation had some type of problem and the library
containing what I need is missing, but I'm not sure what it is that I need to
add or how to do that. Any suggestions?
 
K

Klatuu

Check your references. the Date function is in the Visual Basic for
Applications reference. Seems I remember another post with something about
2007 and VBA, but I don't remember what it was.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top