mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-11-11 07:40:01 +01:00
* switch currency fields to use "ascurrency" Mantis 21380, patch by Lacak2
git-svn-id: trunk@20455 -
This commit is contained in:
parent
7de37b0ad9
commit
9dd87f9a6f
@ -815,9 +815,8 @@ begin
|
|||||||
ftWord : Field.AsInteger:=AsWord;
|
ftWord : Field.AsInteger:=AsWord;
|
||||||
ftInteger,
|
ftInteger,
|
||||||
ftAutoInc : Field.AsInteger:=AsInteger;
|
ftAutoInc : Field.AsInteger:=AsInteger;
|
||||||
// Need TField.AsCurrency
|
ftCurrency : Field.AsCurrency:=AsCurrency;
|
||||||
ftCurrency : Field.asFloat:=AsCurrency;
|
ftFloat : Field.AsFloat:=AsFloat;
|
||||||
ftFloat : Field.asFloat:=AsFloat;
|
|
||||||
ftBoolean : Field.AsBoolean:=AsBoolean;
|
ftBoolean : Field.AsBoolean:=AsBoolean;
|
||||||
ftBlob,
|
ftBlob,
|
||||||
ftGraphic..ftTypedBinary,
|
ftGraphic..ftTypedBinary,
|
||||||
@ -853,9 +852,9 @@ begin
|
|||||||
ftWord : AsWord:=Field.AsInteger;
|
ftWord : AsWord:=Field.AsInteger;
|
||||||
ftInteger,
|
ftInteger,
|
||||||
ftAutoInc : AsInteger:=Field.AsInteger;
|
ftAutoInc : AsInteger:=Field.AsInteger;
|
||||||
// Need TField.AsCurrency
|
ftBCD,
|
||||||
ftCurrency : AsCurrency:=Field.asCurrency;
|
ftCurrency : AsCurrency:=Field.AsCurrency;
|
||||||
ftFloat : AsFloat:=Field.asFloat;
|
ftFloat : AsFloat:=Field.AsFloat;
|
||||||
ftBoolean : AsBoolean:=Field.AsBoolean;
|
ftBoolean : AsBoolean:=Field.AsBoolean;
|
||||||
ftBlob,
|
ftBlob,
|
||||||
ftGraphic..ftTypedBinary,
|
ftGraphic..ftTypedBinary,
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user