Problem with TFmtBcd Field

Discussion of open issues, suggestions and bugs regarding usage of dbExpress drivers for InterBase & Firebird in Delphi and C++Builder
Post Reply
wagenheimer
Posts: 13
Joined: Thu 27 Sep 2007 21:02

Problem with TFmtBcd Field

Post by wagenheimer » Thu 27 Sep 2007 21:06

I have a Firebird field Numeric Size 12 scale 4.

In Delphi, this is mapped as TFMTBCDField!

Now i did update from Delphi Default Dbexpress Driver to CrLab, and i´m having problem!

Delphi can´t handle anymore values minor than 0,10 in this field.
Per example, i have a field with this values, and delphi now shows it like "?5300000000,00", and sometime i get conversion erros because of the "?" in the value!

With old dbexpress DLL, all works fine!

What may be wrong?

Thanks!

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Fri 28 Sep 2007 06:50

We have already fixed this problem. This fix will be included in the next build of DbxIda.

wagenheimer
Posts: 13
Joined: Thu 27 Sep 2007 21:02

Post by wagenheimer » Fri 28 Sep 2007 12:03

When this build will be available????

I have just did buy the Crlab dbexpress driver and it is unsable to me now because of this bug!

Thanks!

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Fri 28 Sep 2007 12:34

The next build of DbxIda will be available approximately in a week. If this doesn't suit you, please contact us by e-mail at dbxida*crlab*com. Do not forget to specify your license information.

wagenheimer
Posts: 13
Joined: Thu 27 Sep 2007 21:02

Post by wagenheimer » Tue 02 Oct 2007 14:59

I did updated with this version, and now i´m having lot of errors, i get a lot of "Database Server Error: Can´t Perform operation on inactive transaction". If i did use the OLD DLL, this errors do no occours.

The Value error also was parcially corrected. If i did use values < than 0,10 cents, it give no more errors anymore, but it trunscates the value up... 0,01 it changes to 0,1.... 0,04 it changes to 0,40..... the problems is only with values minor than 0,1, all other values did works!

Any help will be greatilly apreciated!

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Wed 03 Oct 2007 09:02

We have fixed the problem with incorrect fetching of numeric fields. But we need more information about the problem with transactions. Please send us a more detailed description of this problem or a small sample that demonstrates it.

wagenheimer
Posts: 13
Joined: Thu 27 Sep 2007 21:02

Post by wagenheimer » Wed 03 Oct 2007 17:35

I did send a example to your email!

Thanks for the help!

wagenheimer
Posts: 13
Joined: Thu 27 Sep 2007 21:02

Post by wagenheimer » Fri 05 Oct 2007 15:00

Some news about the problems?

Challenger
Devart Team
Posts: 925
Joined: Thu 17 Nov 2005 10:53

Post by Challenger » Mon 08 Oct 2007 14:37

We have fixed both problems. The new build will be available in a couple of days.

wagenheimer
Posts: 13
Joined: Thu 27 Sep 2007 21:02

Post by wagenheimer » Mon 08 Oct 2007 14:40

Humm very nice to know!

It is possible do send a "pre-release" version of DLL to me?

Thanks!

danieldummer
Posts: 3
Joined: Fri 23 Nov 2007 18:45

Post by danieldummer » Thu 06 Dec 2007 20:27

I've urgency too...
Please send us a pre-release version, please.
Thanks

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Mon 10 Dec 2007 08:43

The DbxIda build with these fixes is already released.

danieldummer
Posts: 3
Joined: Fri 23 Nov 2007 18:45

Post by danieldummer » Mon 10 Dec 2007 19:32

I just re-downloaded a new copy of the driver's installer package and this error still exists.
I've used the link http://crlab.com/dbx/ida/2/std for that.

An exception raises every attempt to read any value minor than 10 cents.
It's a NUMERIC(18,2) field.

The version of the downloaded dll is: dbexpida40.dll, version 2.20.0.5, creation date 29/10/2007 13:52, size 285.184 bytes.

Please reply this message as soon as possible.

Thanks,
Daniel Dummer

Plash
Devart Team
Posts: 2844
Joined: Wed 10 May 2006 07:09

Post by Plash » Tue 11 Dec 2007 12:12

We could not reproduce the problem. Please send to dbxida*crlab*com a complete small sample that demonstrates the problem, including script to create database objects.

Post Reply