Help required for query

gear

Registered User.
Local time
Today, 11:22
Joined
Mar 10, 2007
Messages
112
I need to see the records of a specific date very often. I have designed a simple query (Field : My date field; Criteria : Enter the Date) and it is giving info I want. However, sometimes it shows no records making me wonder where all the data had vanished. On checking up further, I discover that the date I specified was a Sunday, a holiday, when no data entry takes place. What I now want is that if the query returns no records, it should also give a message that "the date you specified could be a holiday. please check" so that I would not panic. Is it possible?
Alternatively, the query can look up the day of the specified date and return the message. I shall be grateful for help for any of these query designs.
 
Thanks for the advice. But I don't know much about VBA/SQL programming. Grateful if you explain how to do it. Thanks in advance.
 

Users who are viewing this thread

Back
Top Bottom