RonMcIntire
Technical User
All:
I'm querying another query to filter a list of birthdays (Date/Time type) for a range of months and I'm having trouble.
SETUP
In the query, I use the following calculation:
MO: DatePart("m",[birthdate]) 'this gets me the month
To filter for a range, I use the criteria:
Between [Start: (Example: 2)] And [End: (Example: 5)]
PROBLEM
When I ask for a range like
Start: 1 End: 8, I get months 1 thru 8 AND 10 thru 12.
when I ask for a range like
Start: 8 End: 10, I get months 2 thru 8 AND 10 thru 12.
What am I doing wrong and how do I get what I want?
Thanks
Ron
I'm querying another query to filter a list of birthdays (Date/Time type) for a range of months and I'm having trouble.
SETUP
In the query, I use the following calculation:
MO: DatePart("m",[birthdate]) 'this gets me the month
To filter for a range, I use the criteria:
Between [Start: (Example: 2)] And [End: (Example: 5)]
PROBLEM
When I ask for a range like
Start: 1 End: 8, I get months 1 thru 8 AND 10 thru 12.
when I ask for a range like
Start: 8 End: 10, I get months 2 thru 8 AND 10 thru 12.
What am I doing wrong and how do I get what I want?
Thanks
Ron