G
Guest
I have a report with 6 subreports. On the Main report in a group footer, I
want to calculate a % based on totals (calculated controls) in the
subreports. I keep getting the #Error on the report. There are instances
where a subreport may have no records for the group. Do I need to test the
HasData property if there are no records? If yes, How and where do enter the
expression for the HasData property. below is the expression I am using to
calculate the %, is this correct?
=Val(([Reports]![Indexer's and Scanner's Errors]![Indexer's
Error].[TotalErrors
txt])+([Reports]![Indexer's and Scanner's Errors]![Scanner's
Error].[ScrErrTot
txt]))/([Reports]![Indexer's and Scanner's Errors]![Prepping
Totals].[GrdTotal txt])
Appreciate any help.
Marianne
want to calculate a % based on totals (calculated controls) in the
subreports. I keep getting the #Error on the report. There are instances
where a subreport may have no records for the group. Do I need to test the
HasData property if there are no records? If yes, How and where do enter the
expression for the HasData property. below is the expression I am using to
calculate the %, is this correct?
=Val(([Reports]![Indexer's and Scanner's Errors]![Indexer's
Error].[TotalErrors
txt])+([Reports]![Indexer's and Scanner's Errors]![Scanner's
Error].[ScrErrTot
txt]))/([Reports]![Indexer's and Scanner's Errors]![Prepping
Totals].[GrdTotal txt])
Appreciate any help.
Marianne