Problem with TFmtBcd Field
-
- Posts: 13
- Joined: Thu 27 Sep 2007 21:02
Problem with TFmtBcd Field
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!
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!
-
- Devart Team
- Posts: 925
- Joined: Thu 17 Nov 2005 10:53
-
- Posts: 13
- Joined: Thu 27 Sep 2007 21:02
-
- Devart Team
- Posts: 925
- Joined: Thu 17 Nov 2005 10:53
-
- Posts: 13
- Joined: Thu 27 Sep 2007 21:02
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!
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!
-
- Devart Team
- Posts: 925
- Joined: Thu 17 Nov 2005 10:53
-
- Posts: 13
- Joined: Thu 27 Sep 2007 21:02
-
- Devart Team
- Posts: 925
- Joined: Thu 17 Nov 2005 10:53
-
- Posts: 13
- Joined: Thu 27 Sep 2007 21:02
-
- Posts: 3
- Joined: Fri 23 Nov 2007 18:45
-
- Posts: 3
- Joined: Fri 23 Nov 2007 18:45
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
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