Subject Re: [firebird-support] Rounding on getting data
Author Martijn Tonies
> >Sorry, I missed the field type, it´s a Numeric(18,9).
> >
> >You found the point! In MS SQL it´s TFloadField and in
> >Firebird it´s TFMTBCDField.
> >
> >Is there some way to change it to TFloatField?
> >Where exactly this is defined?
> >
> >Best Regards.
> >
> >
> >
> So many people using Delphi, as I do! ;-)
>
> Are you Using Delphi 7 and persistent fields definition rigth? Try
> deleting the field defintion and setting the property Numericmap to true
> and recreating the field definition.

However, the field type getting returned is driver specific -
I'm pretty sure that our driver returns this as a TFMTBDCField.

With regards,

Martijn Tonies
Database Workbench - developer tool for InterBase, Firebird, MySQL & MS SQL
Server.
Upscene Productions
http://www.upscene.com