Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Month to date report??

Status
Not open for further replies.

PQTIII

IS-IT--Management
Sep 21, 2004
110
What is the correct where statement in a query to show only the records that contain date in current month and year to date? I have In Month(Date()) , but that shows no records when I run the query.

Thanks pt
 
to show records for the current month only you can use:

where [mydatefield]>=date()+1-day(date())
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top