C
CJ
Hi Groupies:
I have a parameter query that retrieves appointments based on the school
year of September to June.
The problem is that we need to be able to retrieve data for an entire month
at a time, not specific dates. For ease of entry, we would like to enter a
start month of September and an end month of February and retrieve all of
the appointments for September - February.
My query works fine if I set my Between statement based on the date field
and then use 9/1/2006 and 2/28/2007 as the paramenter inputs; however I
would like to make it work with the name of the month so I created a
calculated field of
MonthRequest: MonthName(Month([datAppointment]))
When I enter September and February as my parameter input I do not retrieve
the December information because D does not fall between F and S in the
alpahabet.
How can I make this work?
Thanks for the brain waves!!
I have a parameter query that retrieves appointments based on the school
year of September to June.
The problem is that we need to be able to retrieve data for an entire month
at a time, not specific dates. For ease of entry, we would like to enter a
start month of September and an end month of February and retrieve all of
the appointments for September - February.
My query works fine if I set my Between statement based on the date field
and then use 9/1/2006 and 2/28/2007 as the paramenter inputs; however I
would like to make it work with the name of the month so I created a
calculated field of
MonthRequest: MonthName(Month([datAppointment]))
When I enter September and February as my parameter input I do not retrieve
the December information because D does not fall between F and S in the
alpahabet.
How can I make this work?
Thanks for the brain waves!!