Hi.
I have a problem, I have Number(10) Fields in Oracle and I use it in my application doing "Select MAX(FIELD_NUMBER_10) From Table" and in my ClientDataSet these fields are TIntegerField but are giving the message "expecting: Integer, Actual: Float" But I need to keep them as TIntegerField.
I am currently using the parameters:
Params.Values['BCDPrecision'] := '0';
Params.Values['FloatPrecision'] := '38';
Params.Values['IntegerPrecision'] := '38';
Is there any data mapping parameter that can fix this?
Data Mapping SELECT MAX(NUMBER_FIELD)
Re: Data Mapping SELECT MAX(NUMBER_FIELD)
Hi, again.
Sorry but I found the solution and it's very simple.
I'm migrating a Delphi 7 project to Delphi Berlin, and before those fields were created with the FieldKind property as fkData, just change to fkCalculated that resolved.
Thank you.
Sorry but I found the solution and it's very simple.
I'm migrating a Delphi 7 project to Delphi Berlin, and before those fields were created with the FieldKind property as fkData, just change to fkCalculated that resolved.
Thank you.
Re: Data Mapping SELECT MAX(NUMBER_FIELD)
We are glad that you found a necessary solution. Please don't hesitate to contact us with questions concerning dbExpress driver for Oracle usage.