Page 1 of 1

How to print a label if report is empty

Posted: Sun Nov 29, 2009 8:39 pm
by fuhrj
I need to display a label 'No data found' if the report yields no results.

Right now, it just displays the Report Title band


How to print a label if report is empty

Posted: Mon Nov 30, 2009 9:02 am
by Edward
Hi

Please add the following expression to the text box:

{MyDataSource.Count == 0?"No data found":""}

Thank you.

How to print a label if report is empty

Posted: Mon Nov 30, 2009 10:00 am
by fuhrj
Thanks Edward

How to print a label if report is empty

Posted: Mon Nov 30, 2009 11:58 am
by Edward
Hi

You are welcome.

Thank you.