Query help date format

icemac

Registered User.
Local time
Today, 14:18
Joined
Jul 17, 2006
Messages
31
In my BookingTable I have a StartDate (Format: "dd/mm/yyyy"). For every start date there is a CostOfBooking field also in the query. I want to show a list of all the current StartDates that occur in this month of this year and the cost of that booking. How can this be done?
 
In the StartDate criteria put

Code:
Between 01/01/2007 and 31/01/2007


Col
 
something like this should let you filter for the current month
Code:
Between DateSerial(Year(Date()),Month(Date()),1) And DateSerial(Year(Date()),Month(Date())+1,-1)

peter
 

Users who are viewing this thread

Back
Top Bottom