Last post Sep 06, 2013 02:49 AM by jeeveshfuloria08
None
0 Points
86 Posts
Sep 05, 2013 08:27 AM|sanarojesuraj|LINK
Hi,
I've multiple Table objects in my RDLC report. I show reports based on the data sources passed to Tables.
I want to hide tables when datasource is empty or null.
How to hide a table when data source is null or empty? and suppress that space in RDLC report?
Member
310 Points
97 Posts
Sep 05, 2013 10:53 AM|dhaval-950|LINK
At the Visibility->Hidden of the table properties, put expression something like:
=iif(IsNothing("DataSet1"),true,false)
rdlc
Sep 05, 2013 11:06 AM|dhaval-950|LINK
Participant
1220 Points
336 Posts
Sep 06, 2013 02:49 AM|jeeveshfuloria08|LINK
try this:
=IIF(CountRows("datasetname"),false,true)
None
0 Points
86 Posts
How to hide a table when datasource is empty or null in RDLC?
Sep 05, 2013 08:27 AM|sanarojesuraj|LINK
Hi,
I've multiple Table objects in my RDLC report. I show reports based on the data sources passed to Tables.
I want to hide tables when datasource is empty or null.
How to hide a table when data source is null or empty? and suppress that space in RDLC report?
Member
310 Points
97 Posts
Re: How to hide a table when datasource is empty or null in RDLC?
Sep 05, 2013 10:53 AM|dhaval-950|LINK
At the Visibility->Hidden of the table properties, put expression something like:
=iif(IsNothing("DataSet1"),true,false)
rdlc
http://dhavalshah5.blogspot.in/
View Profile
Member
310 Points
97 Posts
Re: How to hide a table when datasource is empty or null in RDLC?
Sep 05, 2013 11:06 AM|dhaval-950|LINK
At the Visibility->Hidden of the table properties, put expression something like:
=iif(IsNothing("DataSet1"),true,false)
rdlc
http://dhavalshah5.blogspot.in/
View Profile
Participant
1220 Points
336 Posts
Re: How to hide a table when datasource is empty or null in RDLC?
Sep 06, 2013 02:49 AM|jeeveshfuloria08|LINK
try this: