SQL Reporting Services Expression to evaluate if field is null &| white space -


I am creating a report and want to show the tax ID of an entity in a text box if someone is present. However, if no tax ID is present then there is only white space in that area. So if the field is white space then I do not want to show anything in the text box.

  IIF (IsNothing (field! TAX_ID.Value), "", "Tax ID:" & vbCrLf & amp; Field! TAX_ID.Value)  
< P> What do I do?

However, some can always try to evaluate it properly:

  IIF (trim (field! TAX_ID.Value) = "", "", "tax id:" & amp; vbCrLf and field! TAX_ID.Value)  

Comments

Popular posts from this blog

sql - dynamically varied number of conditions in the 'where' statement using LINQ -

asp.net mvc - Dynamically Generated Ajax.BeginForm -

Debug on symbian -