depending on information, my report RDLC on Visual Studio 2008 has some fields that are printed or not.
I would like to know how could I suppress only this section when there is no data to be printed.
I recall that crystal reports has something like that. But what about a RDLC file?
thank you
You could set an IIF
statement on the Visibility property of the control you want to hide.
=IIF(ROWCOUNT=0, FALSE, TRUE)
That way, the report will not render that control if there is no data. you can even take it a step further, and make another control appear when no data is present, to display a message ("There is no data")