Hi,
Crete your query, and then add a column with this as the source:
StartYear:(DatePart("yyyy", [StartDate]))
This column will report the following:
StartDate StartYear
30/12/2005 2005
3/1/2006 2006
So pass criteria to [StartYear] like "2005"
You can also add a column for EndYear using the same formula and pass criteria to it.
If you just pass criteria to the StartYear, this will give you programs that started in the scope of your query, regardless of when they ended.
Does that help?
mmcdonal
|