Additional
AnyDAC
SimpleIAX
Forums
Welcome, Guest
Please Login or Register to post messages. Lost Password?
Difference between BCDFields and FMTBCDFields?
(1 viewing) 1 Guest
Go to bottom
TOPIC: Difference between BCDFields and FMTBCDFields?
#20054
maddn
Junior Boarder
Posts: 26
graphgraph
Karma: 1
User Offline Click here to see the profile of this user
Difference between BCDFields and FMTBCDFields? 2012/02/01 04:24 (3 Months, 2 Weeks ago)
Hello,

can anyone explain me the difference between BCDFields and FMTBCDFields.
In our MySQL Database we've Fields with the DataType DECIMAL(12,2). In some ADQuerys the Fields are shown as BCDFields an in other once as FMTBCDFields.
MYSQL Fields with the dimension DECIMAL(20,8) are always shown as FMTBCDFields in ADQuerys.

We use the Delphi7 IDE.

thx in advance.

Best regards
Maddn
Logged Logged
The administrator has disabled public write access.
#20055
TSupport
Moderator
Posts: 279
graphgraph
Karma: 7
User Offline Click here to see the profile of this user
Re:Difference between BCDFields and FMTBCDFields? 2012/02/01 05:32 (3 Months, 2 Weeks ago)
Hello Maddn,

Thank you for the inquiry.
AnyDAC determines the field type depending on FormatOptions properties: MaxBcdPrecision and MaxBcdScale:
www.da-soft.com/anydac/docu/uADStanOptio...MaxBcdPrecision.html
www.da-soft.com/anydac/docu/uADStanOptio...ons_MaxBcdScale.html

The difference between these types (Bcd vs. FMTBcd) is in the way the field data is internally stored and converted. FMTBcd field data type is supposed to be used for numeric/decimal fields with the large precision and scale values.

Please let us know if you need more infromation on this matter.
With best regards,
DA-SOFT Technologies Support Team
Logged Logged
Last Edit: 2012/02/01 05:34 By TSupport.
The administrator has disabled public write access.
Go to top