I have a virtual field that cames from my SQL and when i create a persistent field in Delphi, it maps to a FloatField. Ok. When a create persistent field that original field in Oracle is datatype NUMBER(9), the Delphi maps it with a IntegerField. I need to do something like this:
Code: Select all
select 0 as myfieldINT from mytableA
union
select field as myfieldINT from mytableB
So, i want make every Oracle datatype NUMBER(9) make on Delphi FloatNumber.
I already try to do all Oracle datatype NUMBER(9) make on FloatField in Delphi:
- Turn off EnabledBCD Params
Set FloatPrecision=9 Params
Somebody have any idea how make it?
Thanks for All!