A
Angela
Hi,
I have a table in below format.
ReportName StartDate EndDate Criteria CriteriaDetail Selection
AAA 01/01/2010 29/01/2010 RANGE BETWEEN [STARTDATE] AND [ENDDATE] YES/
NO
BBB 01/01/2010 01/01/2010 SAMEDATE YES/NO
CCC 31/12/2009 31/12/2009 YESTERDAY YES/NO
As I have to adjust my resulting query according to date changes, each
time I have to edit the parameters, like in case of range, I have to
edit the between statement each time.
I was looking for a way to make changes to this table & get the
results accordingly in the query instead of editing the conditions in
a query everytime.
The selection column will decide which line I would like to use for
what report.
I can change report names & adjust them as desired. Basic requirements
of all reports are same.
Both tables have date column in common as we are drilling information
datewise.
I have a table in below format.
ReportName StartDate EndDate Criteria CriteriaDetail Selection
AAA 01/01/2010 29/01/2010 RANGE BETWEEN [STARTDATE] AND [ENDDATE] YES/
NO
BBB 01/01/2010 01/01/2010 SAMEDATE YES/NO
CCC 31/12/2009 31/12/2009 YESTERDAY YES/NO
As I have to adjust my resulting query according to date changes, each
time I have to edit the parameters, like in case of range, I have to
edit the between statement each time.
I was looking for a way to make changes to this table & get the
results accordingly in the query instead of editing the conditions in
a query everytime.
The selection column will decide which line I would like to use for
what report.
I can change report names & adjust them as desired. Basic requirements
of all reports are same.
Both tables have date column in common as we are drilling information
datewise.