Finding all appointments today: wierd behaviour!

not_rich_yet

Registered User.
Local time
Today, 01:42
Joined
Mar 19, 2002
Messages
39
Hmm, I owuld have thought this was an easy one!

I have a table which holds appointment details, one of these details being the appointment date in Medium Date format.

I attempted to create a query which would list all appointments today so I created a query based on the appointments table and added the =Now() criteria to the column in the query holding the Appointment Date value....I definetly have appointments today, yet when I run the query it gives me no data at all! If I remove the =Now() criteria it does as expected: lists all appointments....

Can anyone shed any light on this wierd problem? Quite wierd in my opinion!
 
Now() includes date and time, that's why it's not matching. Try =Date()
 
Now I feel stupid! I forgot about Date()!

Cheers for the proverbial kick in the right place!

nry
 

Users who are viewing this thread

Back
Top Bottom