CR 9
SQL 2000
Hi all,
I am trying to get my report to supress a full page of detail based on the Balance Due coming from a subreport. I have my shared var like this in the subreport based on a running total:
whileprintingrecords;
shared currencyvar BalanceDue;
BalanceDue:={#BalanceDue};
In my main report I have:
@BalanceDueShared
Whileprintingrecords;
shared currencyvar BalanceDue;
and in supressions I have:
{@BalanceDueShared} <= 0
and have even tried:
whileprintingrecords;
shared currencyvar BalanceDue;
BalanceDue <= 0
It still seems to evaluate based on the previous record set. I have my subreport in the page header (tried other places) and I cannot seem to get it right. I have my group footer set to new page after.
Thanks
BB
SQL 2000
Hi all,
I am trying to get my report to supress a full page of detail based on the Balance Due coming from a subreport. I have my shared var like this in the subreport based on a running total:
whileprintingrecords;
shared currencyvar BalanceDue;
BalanceDue:={#BalanceDue};
In my main report I have:
@BalanceDueShared
Whileprintingrecords;
shared currencyvar BalanceDue;
and in supressions I have:
{@BalanceDueShared} <= 0
and have even tried:
whileprintingrecords;
shared currencyvar BalanceDue;
BalanceDue <= 0
It still seems to evaluate based on the previous record set. I have my subreport in the page header (tried other places) and I cannot seem to get it right. I have my group footer set to new page after.
Thanks
BB