anglophobe
Technical User
I need to suppress a group header based upon a summarized value in the group footer.
My set up is like this:
GH1: CreatedDateTime
Details ID# @Time_In_Status @SumTimeToEnd
GF1: @Ave_Time_In_Status_Week
the Time_In_Status formula gives a simple number value.
The SumTimeToEnd formula is
The Ave_TimeToEnd formula is
currently, the group footer is suppressed with this:
I cannot use the same code to suppress the header, as the number I get for the @Ave_Time_In_Status_Week is from the previous week.
Any suggestions on how to suppress the header?
I am using CR10
My set up is like this:
GH1: CreatedDateTime
Details ID# @Time_In_Status @SumTimeToEnd
GF1: @Ave_Time_In_Status_Week
the Time_In_Status formula gives a simple number value.
The SumTimeToEnd formula is
Code:
whileprintingrecords;
if {@Time_In_Status} > 0 then
numbervar counter_week := counter_week + 1;
numbervar total_week := total_week + {@Time_In_Status};
Code:
whileprintingrecords;
numbervar counter_week;
numbervar total_week;
If {@Counter_week} <> 0 then
({@Total_week} / {@Counter_week})
currently, the group footer is suppressed with this:
Code:
If {@Ave_Time_In_Status_Week} = 0 then
true
Any suggestions on how to suppress the header?
I am using CR10