> Nic, I know this looks silly, but it can sometimes work:
> tval:=tblInvoice.FieldByName("amount").AsCurrency*1000;
> tval:= tval/1000;
> total := total + tval;
> Sortof what you have to do if you dont have 'real' number crunching.
> EG 75.6100 would be 75 and 6100, at the end of processing you shiftleft to
> get the correct decimal places - make sense or not??
Yup, makes sense - that also works fine, just seams odd that a currency
field
is defined as 999999999.9999 (or maybe more infront of the DP), but the
AsCurrency, according to the help, does not support currency.
Bizare!
N
---------------------------------------------------------------------------
New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
Website: http://www.delphi.org.nz