ADO Data type mismatch



Hi

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

Thanks in advance
Matthew

__________________________________________________________________ Matt
ICQ#: 43123296 Current ICQ status: + More ways to contact me
__________________________________________________________________


.



Relevant Pages

  • Re: internals of typecasting
    ... > object of type int is applied an cast of float the result ... > would be of type float. ... casting from floating-point numbers to integers. ...
    (comp.lang.c)
  • Re: saving arrays of floats to a file
    ... full range and precision of the float. ... of type float? ... (It probably does on most platforms.) ... with q decimal digits can be rounded into a floating-point number ...
    (comp.lang.c)
  • Re: saving arrays of floats to a file
    ... full range and precision of the float. ... of type float? ... I would encourage data transfer among disparate system hardware to be in text format. ... Most of us can figure out your text format by looking at it, without even asking you about it. ...
    (comp.lang.c)
  • Re: float variables in loops
    ... > involving operands of type float or float in combination with ... Yes, the result has semantic type float, but it's ... allowed to have extra precision. ... mode of operation where "all calculations in C are done per default in ...
    (comp.lang.c)
  • 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)