View Full Version : No Data in Subreport


Castaway4
07-17-2008, 08:25 AM
I have a report with a subreport.

The problem is if the Subreport has no data I want it to display "There is no Data to Report"

How do i code the report or subreport so that the label appears instead of the subreport just displaying a blank box?

Thanks

Alisa
07-17-2008, 12:32 PM
I have a report with a subreport.

The problem is if the Subreport has no data I want it to display "There is no Data to Report"

How do i code the report or subreport so that the label appears instead of the subreport just displaying a blank box?

Thanks
Do a search on HasData. You should be able to check the has data property of the subreport, and if it is false, show something else instead.

Castaway4
07-17-2008, 02:20 PM
Thanks

Got it to work