Re: ADO Data type mismatch




I am converting a application that was using BDE to an application that uses
ADO. Whenever the application encounters a field of type float it raises an
exception "data type mistmatch expecting float found integer". The field is
already a float. I had read the Enable BCD should be turned OFF which I have
done and I still get this error.

Does anyone know how to resolve this problem
You have the field defined as a Tfloat using persistent fields but ADO seems to
be returning the result as an integer.
What database are you using and what is the field type?
The Enable BCD setting here should not be a factor.
--
Brian Bushay (TeamB)
Bbushay@xxxxxxxxx
.



Relevant Pages

  • Re: i know its a floating-point imprecision...
    ... i'm using float to store a fixed point exchange rate. ... So i was trying to go past Delphi's ADO wrapper and into ADO and it's ... And while checking how ADO handles floats and decimals, ... >> I understand that the value is stored in SQL Server using floating ...
    (microsoft.public.sqlserver.server)
  • Creating .csv file with ADO
    ... comopnent I am using is Zeos). ... Now I want to change to ADO and create a ... .CSV file with an SQL CREATE TABLE statement. ... `Likelihood` float NOT NULL, ...
    (borland.public.delphi.database.ado)
  • Re: ADO Data type mismatch
    ... I am converting a application that was using BDE to an application ... that uses ADO. ... Whenever the application encounters a field of type ... float it raises an exception "data type mistmatch expecting float ...
    (borland.public.delphi.database.ado)