Quantcast
Channel: Crystal Reports
Viewing all articles
Browse latest Browse all 1507

Format column to Percentage

$
0
0

Hi Everyone,

I created a Crystal Report that obtain data from a DataSet. One of the field has a percentage value but require the value to be multiple 100 before it can becomes the true percentage value.  My problem is, I can't figure out how to multiple the value by 100.   I know how to format the field to add the % sign behind the value.  I even write a formula but that doesn't seem to work.  I even try to create a UnboundNumber and then check if the dataset field is greater than zero like the  below but that doesn't work.  

if {ds_Trade_Detail.calcPctMC} > 0
then
{@UnboundNumber1}= {ds_Trade_Detail.calcPctMC} * 100
else
{@UnboundNumber1} = {ds_Trade_Detail.calcPctMC}

Any suggest as to how I can format this dataset field to * by 100?  I've used Data Dynamic Active Report and all I had to do was format the data field to Percentage and that automatically times it by 100 and add the % sign.

Thank you.


Viewing all articles
Browse latest Browse all 1507

Trending Articles