Now/today function not working

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

Guest

In my query none of the functions related to current date is working. Can
someone help me fix it. thanks.
purnima
 
Hi,


You probably have a problem of reference. Check under VBA code, from the
menu, Tools | References...

One of the checked reference may start its description with the word
MISSING. Try to uncheck it (or to install it, if that reference is really
required).


It is just due to the way Access works. As soon as an unloaded function
(Date(), Now(), in your case) is required, the references are checked, and
if one is missing, even if not related to your function (since it is
missing, Access does not know if the function is supplied by the missing
reference, or not), you get an error.


Hoping it may help,
Vanderghast, Access MVP
 
In other words, Purnima, replace all today() functions with the Date()
function. Today() is an Excel function that returns the current date. Date()
in Access does the same thing.

HTH
 

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

Similar Threads

Usin Or with IF statement 2
total by month Query 2
first value 2
First occurrence 3
Canon IP 6600D Photo Printer 2
date function 3
report border 2
Access DateDiff function 0

Back
Top