I have a database which tracks persons within a program. The length of the program is not fixed.
tblPerson has fields for demographic information as well as a program startdate field and a program enddate field.
I am attempting to create a query that retrieves records that fall within a given year.
For instance: What people were in the program for even 1 day during 2007?
The problem I’m having is with those records that have start dates before 2007 and end dates after 2007 (or no end date yet) but were in the program during 2007.
Any help or suggestions on how to retrieve the records would be appreciated.
Thanks
Accel45
tblPerson has fields for demographic information as well as a program startdate field and a program enddate field.
I am attempting to create a query that retrieves records that fall within a given year.
For instance: What people were in the program for even 1 day during 2007?
The problem I’m having is with those records that have start dates before 2007 and end dates after 2007 (or no end date yet) but were in the program during 2007.
Any help or suggestions on how to retrieve the records would be appreciated.
Thanks
Accel45