Click here to Skip to main content
15,880,725 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
Hi,

How to check NULL value in RDLC report?
Posted
Updated 17-Sep-19 7:19am
v2
Comments
rohit24c 13-Jun-12 8:12am    
i want to check for dataset if it is empty .
please help

1 solution

Try:
VB
iif(Fields!ABC.Value Is Nothing, "value is NULL", "value is not NULL")



UPDATE:

Just for your reference and confirmation that what I suggested, it works:http://msdn.microsoft.com/en-us/library/ms157328%28v=sql.90%29.aspx[^]
Check 'Decision functions' part.
 
Share this answer
 
v5
Comments
Rajni from delhi 16-Feb-11 0:37am    
Not able to achieve,still getting #ERROR
Pratik Bhuva 31-Dec-13 1:47am    
Thanks Sandeep
Sandeep Mewara 16-Feb-11 1:13am    
What I suggested was for a field that has a defined dataset. Did you gave that?

Tell me what was your expression and if a dataset was defined for the base control or not.
[no name] 16-Feb-11 1:24am    
What Error?
Sandeep Mewara 16-Feb-11 1:58am    
In SSRS if there is a mistake in expression you just see #Error. :)

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