I am trying to get a report based on the dates that I will send as parameter. I can select any date range lets say sdt_dateentered = '08/01/04' and sdt_dateend = '09/03/04'.So when I enter this date the report should be in formatt of multiple weeks(for each week from Aug to Sept.), and each week seperatly marked.
Center week1 week2
08/2/04-08/06/04 08/09/04-08/12/04
Indianapolis 90calls 13
Detriot 3 4
Now if I enter only sdt_dateentered = '10/04/04' and sdt_dateend = '10/08/04', the report should have data for one week, marked with that week only.
Center week1
10/04/04-10/08/04
Indianapolis 90calls
Detriot 3
90 calls is number of Indianapolis appeared in this week(or indianpolis calls number). I will send the dates and the report has to show results based on dates.
Center week1 week2
08/2/04-08/06/04 08/09/04-08/12/04
Indianapolis 90calls 13
Detriot 3 4
Now if I enter only sdt_dateentered = '10/04/04' and sdt_dateend = '10/08/04', the report should have data for one week, marked with that week only.
Center week1
10/04/04-10/08/04
Indianapolis 90calls
Detriot 3
90 calls is number of Indianapolis appeared in this week(or indianpolis calls number). I will send the dates and the report has to show results based on dates.