Page 1 of 1

TIntegerField precision bound

Posted: Tue 27 Jun 2006 13:44
by Dmlvc
Hello!
We are going to migrate our software from BDE to ODAC. With TOraSession option EnableIntegers=True ODAC maps Oracle numbers with precision less than 10 to TIntegerField. It is convenient for us, but we also need oracle number(10) type to be mapped to TIntegerField.

Is it possible to change programmatically precision bound between TIntegerField and TFloatField?

Thank You!

Posted: Tue 27 Jun 2006 14:13
by Challenger
For this purpose you can use two typed constants, IntegerPrecison and FloatPrecision, that are declared in module OraClasses.pas.

Posted: Tue 27 Jun 2006 15:19
by Dmlvc
Thank You!