compile error using date()

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

Guest

I am trying to update a date field to today's date by placing Date() in the
"Update to" box on an update query. When it's run, however, it comes back
with an error: Compile error.in query expression 'Date()'.

Any ideas?
 
Compile error.in query expression 'Date()'.

This appears to be the very common References bug. Open any
module in design view, or open the VBA editor by typing
Ctrl-G. Select Tools... References from the menu. One of the
..DLL files required by Access will probably be marked
MISSING. Uncheck it, recheck it, close and open Access.

If none are MISSING, check any reference; close and open
Access; then uncheck it again. This will force Access to
relink the libraries.

John W. Vinson[MVP]
 

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

Back
Top