SSRS check for NULL or Empty String

Alright..I have a column called "Comments" and need to hide that column if it's NULL or empty or have spaces!

Solution:


Just set the visibility expression to:


=IIF(Fields!Comments.Value = "", IIF(Fields!Comments.Value is nothing, IIF(Len(Trim(Fields!Comments.Value)) = 0,True, False), False), False)



Comments

Post a Comment

Popular posts from this blog

Run a VBscript using SQL Server.

Practical Web Scraping with Python: A Clean, Safe Pattern for Pulling Company Names & Emails

SSIS to Sybase OLEDB connection error [IM002]. [Native Code: 30136]