Board index » delphi » Help QR Expression Currency Format..!

Help QR Expression Currency Format..!

I have a QReport Expression Like the following:
SUM(UnitPrice)
I get the result on this format. 175 but I would like to get it as a
currecncy format. $175.00
Can someone tell me how I can do that..

Tia

Charles Urbina

 

Re:Help QR Expression Currency Format..!


Quote
Charles Urbina wrote:
> I have a QReport Expression Like the following:
> SUM(UnitPrice)
> I get the result on this format. 175 but I would like to get it as a
> currecncy format. $175.00
> Can someone tell me how I can do that..

Set the Mask property of the QRExpression:for example $ ,0.00 (do not
quote Mask in property editor),
or in code:
QRExpression1.Mask := CurrencyString + ' ,0.00';

Quote

> Tia

> Charles Urbina

--
Kari Heinonen / Veikko Heinonen Oy

http://personal.inet.fi/koti/veikko.heinonen/

Other Threads