Hi, thanks up front!
I have to create a report out of a db I didn't design. It is an event scheduling db. Events can happen once or be reoccurring. Here are the relevant fields in the table:
Occures – weekly
StartDate – 8/24/06
EndDate – 12/28/06
OccuresMonday – 1
OccuresTuesday – 0
OccuresWednesday – 1
(fields for each day of the week and are checkboxes)
So I need to count how may weeks there are between the start and end date and how many time each week the event occurs to get a total of how many times the event was scheduled. How would I write a query to do this?
I have to create a report out of a db I didn't design. It is an event scheduling db. Events can happen once or be reoccurring. Here are the relevant fields in the table:
Occures – weekly
StartDate – 8/24/06
EndDate – 12/28/06
OccuresMonday – 1
OccuresTuesday – 0
OccuresWednesday – 1
(fields for each day of the week and are checkboxes)
So I need to count how may weeks there are between the start and end date and how many time each week the event occurs to get a total of how many times the event was scheduled. How would I write a query to do this?