Sub Reports with no Data

D

Dave

Access 2003

Would like to be able to populate a report with text ("Sorry - there were no
incidents this month") if the sub report is empty (contains no data)

How can this be done easily?

Any help here will be appreciated.

Thanks in advance


dave
 
D

Duane Hookom

You can use a text box on the main report with a control source like:
=IIf(subrptControlName.Report.HasData,Null,"Sorry -there....")
 
D

Dave

Thanks you - I will try that

dave

Duane Hookom said:
You can use a text box on the main report with a control source like:
=IIf(subrptControlName.Report.HasData,Null,"Sorry -there....")
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top