Page 1 of 1

problem with display in TDBGrid

Posted: Fri 01 Jun 2007 12:48
by antonx
i use TDBGrid connected to database by IBDA components..
when im displaying NUMERIC (18,4) fields there is a problem
if its '100,00' TDBGrid displays '100' (without 00 after ',')
when Grid was connected by BDE components everything was ok..
how tu fix it? TIBCTable doesnt have FieldDefs property?
im using FireBird 2.0

Posted: Mon 04 Jun 2007 07:57
by Plash
Open Fields Editor for the TIBCTable component, and create all fields. Then set the DisplayFormat property to #.00 for fields those values should be displayed with 00 after the decimal point.

Posted: Tue 05 Jun 2007 11:57
by antonx
big thx. :)