How do you check if a textbox is empty in SSRS 2008? I've tried this code and it doesn't work.
IIF(ReportItems!txtCountVolunter.Value = "", false, true)
How do you check if a textbox is empty in SSRS 2008? I've tried this code and it doesn't work.
IIF(ReportItems!txtCountVolunter.Value = "", false, true)
For those who come from a .NET world and you want to check non-empty and say for argument sake want the value 0 instead of blank!
Try the following:
Check for null
You should use this expression
The first: IsNothing(Fields!UserEmail.Value) checks if the field value is NULL The second: Fields!UserEmail.Value = "" checks of the filed value is blank ""
So you need both of them in order to check if the value is either null or empty.
Try the IsNothing function like this:
IIF(IsNothing(ReportItems!txtCountVolunter.Value), "empty", "not empty")