BCD Fields

Discussion of open issues, suggestions and bugs regarding IBDAC (InterBase Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
zzircon
Posts: 3
Joined: Thu 18 Nov 2010 10:41

BCD Fields

Post by zzircon » Thu 18 Nov 2010 11:00

Hi, I´m using IBDAC 3.10.0.8. and FireBird.

I have a DB with decimal(15,2) Fields and decimal(15,12) for Currency support, after migrate to IBDAC this fields has turned from TFMTBCDField to TFloatFields (that´s a problem)

Why? How can I fix it? I have EnableBCD and EnableFMTBCD to True.

thx.

zzircon
Posts: 3
Joined: Thu 18 Nov 2010 10:41

... further testing

Post by zzircon » Fri 19 Nov 2010 10:32

It seems EnableFMTBCD does not work.
When I try with decimal (9,2) everything it´s OK (enableBDC=TRUE), a TBCDField is mapped, but with decimal (10,2) (enbaleFMTBCD=TRUE) a TFloatField is created instead of TFMTBCDField.

I´m working with Delphi7. TTable component works fine, only TIBCTable fails.

AndreyZ

Post by AndreyZ » Fri 19 Nov 2010 11:00

Hello,

Please specify your Firebird database dialect.

zzircon
Posts: 3
Joined: Thu 18 Nov 2010 10:41

Closed

Post by zzircon » Fri 19 Nov 2010 11:26

Great !!!

My Dialect was 1.
With Dialect 3 everything works fine. Now my fields are mapped to BCD and FMTBCD as is expected to.

AndreyZ

Post by AndreyZ » Fri 19 Nov 2010 12:07

It is good to see that this problem was solved. If any other questions come up, please contact us.

Post Reply