crystal reports - Remove Currency Symbol -
my selection formula works fine, shows $
symbol before amounts. how can remove this?
if {tblcomparativebalance.iacctlevel} - {@@highest_level} = 0 if sum ({tblcomparativebalance.mbalance_amt0}, {tblcomparativebalance.saccount_cd}) > 0 totext(sum ({tblcomparativebalance.mbalance_amt0}, {tblcomparativebalance.saccount_cd}),2) else "(" + totext(abs(sum ({tblcomparativebalance.mbalance_amt0}, {tblcomparativebalance.saccount_cd})),2) + ")" else ""
you have right-click on formula field on layout, choose format field...
in number tab, un-check display currency symbol
, click ok
but since in formula converting string, have edit formula following:
totext(sum ({tblcomparativebalance.mbalance_amt0},{tblcomparativebalance.saccount_cd}),2, "")
the last parameter character of currency symbol, in case setting empty, means no currency symbol.
same thing applied else formula.
"(" + totext(abs(sum ({tblcomparativebalance.mbalance_amt0}, {tblcomparativebalance.saccount_cd})),2, "") + ")"
Comments
Post a Comment