Click here to Skip to main content
15,887,776 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi,

My table has following columns one is CPEType.Value.
Table row has an Expression in Visibility/Hidden =IIF(Fields!CPEType.Value = "C",False,TRUE )
so, It's showing Only rows which having CEType valu is "c".
Now,I Want to display "No Rows Found",when there's no data after above Condition.

is that in NoRows property is ok?

=iif(Count(Fields!CPEType.Value="E")= 0,"No Records" ,False)
Posted
Updated 28-Feb-11 0:08am
v2
Comments
Sandeep Mewara 28-Feb-11 10:42am    
First of all, did you got the expression correctly, the one I suggested last time?
Rajni from delhi 28-Feb-11 22:54pm    
i can't use that.i have to do this in .Rdlc desgin page.if table has data,then m showing only selected rows who's having Fields!CPEType.Value = "C" that i aplies to table row hidden property.now,i want to assign table No rows poperty in any expression,how can i do this ?
Rajni from delhi 1-Mar-11 0:05am    
when m setting the property of table NoRows,it's also n't firing.

1 solution

please inform me which database you are using?.

if {bindingsource.count== 0)
{
messageBox("No rows");

}
you can use this if you are using ms access.
 
Share this answer
 
Comments
Rajni from delhi 28-Feb-11 10:06am    
Sql server is using.Can i assign String constant of "No Records Found" in the table NoRows property in any textbox Expression by Conditionally counting the No of rows of Fields!CPEType.Value = "C".
Sandeep Mewara 28-Feb-11 10:41am    
Dude, OP is asking about SSRS. You are suggesting some C# code. :doh:

Please avoid answering topics that you are not aware of. It might just mis-guide OP.
sairam.bhat 1-Mar-11 1:43am    
k sory yar i confused
Sandeep Mewara 1-Mar-11 1:51am    
:) Ok.

Keep helping others!
Rajni from delhi 28-Feb-11 22:36pm    
act.. when i wrote Report or RDLC ,IT's show me the error of revise tag.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900