[Lazarus] Trouble with TIBConnection and Numeric (N,6) fields.

Joost van der Sluis joost at cnoc.nl
Sun May 25 15:06:23 CEST 2008


Op vrijdag 23-05-2008 om 11:17 uur [tijdzone +0200], schreef Gerard N/A:
> Hi all,
> 
> I've got a problem acessing a Firebird DB (2.0) with TIBConnection + TSQLQuery.
> I get 'Unkonwn field type <FieldName>' when opening querys wich do
> selects to tables having NUMERIC fields with 6 decimals.
> 
> Any idea on how to fix this?

Yes, implement TFmtBCDField. At this moment, fpc doesn't support decimal
fields with more then 4 decimals. 

Joost.




More information about the Lazarus mailing list