stormtrooper
Programmer
Hi there. I have a report in which I need a summary of all data to date. But the report itself is limited by a selection criteria as follows:
if {?pStart_Dt} = "Default Value"
then {Report_Dt} >= {@Fiscal_Start_Dt} and {Report_Dt} <= {@Fiscal_End_Dt}
else
{Report_Dt} >= Date({?pStart_Dt}) and Report_Dt <= Date({?pEnd_Dt})
I've tried a subreport but that is still limited to the main report selection criteria.
Here's how the report should look like:
Feb/04
ABC Company
ACTIVE 176
INACTIVE 15
Increase in ACTIVE 161
XYZ Company
ACTIVE 65
INACTIVE 5
Increase in ACTIVE 60
TOTAL INCREASE IN ACTIVE FOR MONTH 221
TOTAL ACTIVE AT MONTH END 120221
Mar/04
ABC Company
ACTIVE 695
INACTIVE 12
Increase in ACTIVE 683
XYZ Company
ACTIVE 46
INACTIVE 2
Increase in ACTIVE 44
TOTAL INCREASE IN ACTIVE FOR MONTH 741
TOTAL ACTIVE AT MONTH END 120962
The "TOTAL ACTIVE FOR MONTH END" value is what I am after. It has to not be limited to the selection criteria and at the same time coincide with report month end.
Please advise, thanks.
if {?pStart_Dt} = "Default Value"
then {Report_Dt} >= {@Fiscal_Start_Dt} and {Report_Dt} <= {@Fiscal_End_Dt}
else
{Report_Dt} >= Date({?pStart_Dt}) and Report_Dt <= Date({?pEnd_Dt})
I've tried a subreport but that is still limited to the main report selection criteria.
Here's how the report should look like:
Feb/04
ABC Company
ACTIVE 176
INACTIVE 15
Increase in ACTIVE 161
XYZ Company
ACTIVE 65
INACTIVE 5
Increase in ACTIVE 60
TOTAL INCREASE IN ACTIVE FOR MONTH 221
TOTAL ACTIVE AT MONTH END 120221
Mar/04
ABC Company
ACTIVE 695
INACTIVE 12
Increase in ACTIVE 683
XYZ Company
ACTIVE 46
INACTIVE 2
Increase in ACTIVE 44
TOTAL INCREASE IN ACTIVE FOR MONTH 741
TOTAL ACTIVE AT MONTH END 120962
The "TOTAL ACTIVE FOR MONTH END" value is what I am after. It has to not be limited to the selection criteria and at the same time coincide with report month end.
Please advise, thanks.