Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations SkipVought on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Caluclated Report Field based on subreport showing #ERROR

Status
Not open for further replies.

boysrus

Programmer
Jul 9, 2001
12
0
0
US
I have a report that has a calculated field which is based on its subreport. The subreport is based on a query. If the query results in zero records, the subreport does not produce anything and the calculated field on the main record shows #error. How do I tell the main report to show a zero if the sub-report does not display?


The report has other sub-reports and data, so I still have to run the report.

Thanks.
 
Look up help on HasData, there is an example
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top