Problem with date query

mulisha07

New member
Local time
Today, 20:08
Joined
Oct 14, 2004
Messages
8
I have a date field which has a default value of =Now() so that the user does not have to input this value during data entry. However, when I do a query for this date field, it does not show any of the data related to the date. One thing is, if I enter the date field manually, the query works with the date field entered.

Can anyone help out with this problem? Thanks in advanced! ;)
 
Try using Date() rather than Now(). Date() will return the current date. Whilst Now() returns the current time (HH:MM:SS) as well as the current date, so unless you really need the current time, avoid using Now() as it will only complicate thing as you have found out.
 
Try using Date() rather than Now(). Date() will return the current date. Whilst Now() returns the current time (HH:MM:SS) as well as the current date, so unless you really need the current time, avoid using Now() as it will only complicate thing as you have found out.

Ah yes!! Thanks for the help.. :)
 

Users who are viewing this thread

Back
Top Bottom