Page 1 of 1

EBcdException - BCDOverflow

Posted: Thu 30 Apr 2009 10:34
by devartfan
Hi,

we have an urgent problem with the TFMTBCDField especially with the property precision.

In design-time, delphi saves the length of numeric fields in the dfm-file.

Database field length-changes at runtime cause the mentioned BCDOverflow.

Are there any suggestions to solve this problem? Is it really neccessary to save field-length in dfm-files?

Regards.

Posted: Tue 05 May 2009 07:32
by Plash
The driver does not have influence on saving fields to DFM. Probably you can change the Length property of fields at runtime after creating the form to avoid the problem.