Click here to Skip to main content
15,891,905 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
Hello Guys,i am facing a new problem in my crystal report is that i want if coloumn1 value == 0 so currency symbol is not showing but if is there value so currency symbol show in report please tell me how can i do it

What I have tried:

if{RECEIPT.Column1} = "0" then
CurrencySymbol = "";
else{CurrencySymbol = "Rs"}
Posted
Updated 26-Jan-17 21:12pm

1 solution

1.Right-click on the affected field on the report
2.Select Format Field
3.On the Number tab, click Customize
4.Mark the Display Currency Symbol checkbox and select the position and required currency symbol in your case it is "Rs"
5.Choose either Fixed or Floating setting (described below)
6.Click OK

and also in Number tab there is option to suppress zero just checked it to suppress Zero.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900