How to check if SSRS Textbox is empty
问题 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) 回答1: Try the following: =IIF(Len(ReportItems!txtCountVolunteer.Value) <= 0, true, false) 回答2: You should use this expression =IIF(IsNothing(Fields!UserEmail.Value) OR Fields!UserEmail.Value = "", "Empty", "Not Empty") The first: IsNothing(Fields!UserEmail.Value) checks if the field value is NULL The second: Fields!UserEmail.Value = "" checks