Hi,
I have a report that conditionally suppresses fields that contain a specific record. For example:
Record A12345
Sub-record - Open
Subrecord - In Progress
Subrecord - Future
I suppressed all records that have any subrecord that = Future Action. I used the 3 step formula to do this.
Initalize:
shared numbervar x;
x := 0:
Calc:
Whileprintingrecords;
shared numbervar x;
If ({RecordStatus}) = "Future"
then x:= x+1
Show:
shared numbervar x;
x
Next, I suppressed on the group with the following:
{@check} = "*FUTURE*"
the formula for check is
shared numbervar x;
if x> 1
then "*FUTURE*"
else "OPEN"
Everything suppresses PERFECT but now how do I count only the records displayed and not count the suppressed fields?
I have a report that conditionally suppresses fields that contain a specific record. For example:
Record A12345
Sub-record - Open
Subrecord - In Progress
Subrecord - Future
I suppressed all records that have any subrecord that = Future Action. I used the 3 step formula to do this.
Initalize:
shared numbervar x;
x := 0:
Calc:
Whileprintingrecords;
shared numbervar x;
If ({RecordStatus}) = "Future"
then x:= x+1
Show:
shared numbervar x;
x
Next, I suppressed on the group with the following:
{@check} = "*FUTURE*"
the formula for check is
shared numbervar x;
if x> 1
then "*FUTURE*"
else "OPEN"
Everything suppresses PERFECT but now how do I count only the records displayed and not count the suppressed fields?