Hi Everyone,
First of all, Wish You all Happy New Year in Advance. May God bless you all with wonderful life aheadπππ..
Print Blank when the value is Zero in Navision (RDLC) Reports
Sometimes when we are printing Integer or Decimal type field in RDLC Report we didn't want to display 0 if the value of that field or expression is Zero, but rather display it as blank.
Example:- Here we have created one Report, and you can see that in Debit(LCY) and Debit (ACY) column fields value is zero and it did not print zero i.e, its printed as blank.
This is only done because in RDLC Report Properties there is a pre-defined function called BlankZero which looks like :
This function consider numeric value and if the value is zero it returns blank text string.
So if you need to display blank you can use the below mention expression with the required field value.
=Code.BlankZero(Fields!Debit_Amount.Value)
Syntax denoted as :
=Code.BlankZero(YourFieldHere)
I hope this blog helps you to display your Report in furnished manner.
#LastBlogOf2020 #ByeBye2k20 #HappyNewYear #Welcome2021..
Comments
Post a Comment