I have a few questions about the EnableBCD option.
To avoid BCD overflow errors on DOUBLE PRECISION fields, I have to use the following code :
Code: Select all
const
coEnableBCD = TSQLConnectionOption(102);
SQLConnection1.SQLConnection.SetOption(coEnableBCD, 0);
- Why are DOUBLE PRECISION fields not mapped to TFloatField by default ?
- What is the difference with EnableBCD=False on the connection string ? The latter always raises the BCD Error.
Thanks for your answers.
Configuration :
Delphi 7
dbxoda : 4.50.0.20
Oracle 10g