Compile error: Can't find project or library

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

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?
 
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.
 
Back
Top