TIntegerField precision bound

Discussion of open issues, suggestions and bugs regarding ODAC (Oracle Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
Dmlvc
Posts: 17
Joined: Tue 27 Jun 2006 13:28

TIntegerField precision bound

Post by Dmlvc » Tue 27 Jun 2006 13:44

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!

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

Post by Challenger » Tue 27 Jun 2006 14:13

For this purpose you can use two typed constants, IntegerPrecison and FloatPrecision, that are declared in module OraClasses.pas.

Dmlvc
Posts: 17
Joined: Tue 27 Jun 2006 13:28

Post by Dmlvc » Tue 27 Jun 2006 15:19

Thank You!

Post Reply