clevelandjwb
Programmer
I have a report that uses a subreport to summarize data which appears in the report. The data being reported on is account data and the subreport summarizes balances for certain subaccounts within a major account.
In the main part of the report, each subaccount appears with its beginning balance, activity, and ending balance. If it has no activity, it does not appear in this section.
In the subreport that comes at the end each subaccount balance that is non-zero appears. There is one exception, if the subaccount number is = "001" it appears even if the balance is zero. At the moment, all of this works.
What I would like to do is to suppress all statements where the only thing printing is a subreport with exactly one line that indicates the balance of subaccount 001 is $0.00. I think that this section could be suppressed if I were able to count the number of lines in the subreport and found it equal to 1 at the same time the sum of the balances in the subreport was $0.00. In this case, there would be no detail lines in the report but I would need to be able to accumulate a count and subtotal from the subreport to use to suppress that section and I don't know how to do that.
Any ideas would be appreciated.
John
In the main part of the report, each subaccount appears with its beginning balance, activity, and ending balance. If it has no activity, it does not appear in this section.
In the subreport that comes at the end each subaccount balance that is non-zero appears. There is one exception, if the subaccount number is = "001" it appears even if the balance is zero. At the moment, all of this works.
What I would like to do is to suppress all statements where the only thing printing is a subreport with exactly one line that indicates the balance of subaccount 001 is $0.00. I think that this section could be suppressed if I were able to count the number of lines in the subreport and found it equal to 1 at the same time the sum of the balances in the subreport was $0.00. In this case, there would be no detail lines in the report but I would need to be able to accumulate a count and subtotal from the subreport to use to suppress that section and I don't know how to do that.
Any ideas would be appreciated.
John