Hello,
Using D7, DOA 4.0.5.0, Oracle 9.01.
A TOracleDataSet (ODS) read 2 columns (COL1, COL2) of NUMBER type. The corrispondent TField is a TFloatField.
Suppose COL1 and COL2 contains the same decimal value : the following test
ODS.FieldByName('COL1').AsFloat = ODS.FieldByName('COL2').AsFloat
return TRUE, correctly.
Then, I edit and post a record, replacing the same value in COL2.
After it, testing COL1 and COl2 as above, the result is FALSE.
I verified that the incorrect behavior happens after the TOracleDataset has been posted, while after a refresh it works fine.
I verified too that if I do the same test using AsCurrency instead AsFloat, it works properly:
(ODS.FieldByName('COL1').AsCurrency = ODS.FieldByName('COL2').AsCurrency)
It seems a bug.... any idea?