Dear all,
I have some problems with TDBgrid and float values.
Firebird database.
I have a table with two fields.
One field is a (FIELD_FLOAT) FLOAT and the other DOUBLE PRECISION
(FIELD_DOUBLE).
I tried some inserts and I show the table using DBGrid.
If I exec this:
insert into TABLE1 (FIELD_FLO
--- Andrea Mauri <[EMAIL PROTECTED]> escribió:
> Dear all,
> I have some problems with TDBgrid and float values.
> Firebird database.
> I have a table with two fields.
> One field is a (FIELD_FLOAT) FLOAT and the other DOUBLE PRECISION
> (FIELD_DOUBLE).
> I tried some inserts and I show the tabl
@miraclec.com
Onderwerp: [lazarus] TDBgrid float: bug?
Dear all,
I have some problems with TDBgrid and float values.
Firebird database.
I have a table with two fields.
One field is a (FIELD_FLOAT) FLOAT and the other DOUBLE PRECISION
(FIELD_DOUBLE).
I tried some inserts and I show the table using DBGrid
PROTECTED]
Verzonden: dinsdag 8 mei 2007 17:33
Aan: lazarus@miraclec.com
Onderwerp: [lazarus] TDBgrid float: bug?
Dear all,
I have some problems with TDBgrid and float values.
Firebird database.
I have a table with two fields.
One field is a (FIELD_FLOAT) FLOAT and the other DOUBLE PRECISION
I am checking the displayformat property.
Checking it I found in DBGrids unit:
procedure TColumn.Assign(Source: TPersistent);
begin
if Source is TColumn then begin
//DebugLn('Assigning TColumn[',dbgs(Index),'] a TColumn')
Collection.BeginUpdate;
try
inherited Assign(Source);
F
How can I access the DisplayFormat property?
I can see it only in the object inspector and not by code:
DBGrid1.Columns[0] .displayformat
Doesn't exist.
a.
Jesus Reyes wrote:
--- Andrea Mauri <[EMAIL PROTECTED]> escribió:
Dear all,
I have some problems with TDBgrid and float values.
Fir
--- Andrea Mauri <[EMAIL PROTECTED]> escribió:
> I am checking the displayformat property.
> Checking it I found in DBGrids unit:
>
> procedure TColumn.Assign(Source: TPersistent);
> begin
> if Source is TColumn then begin
> //DebugLn('Assigning TColumn[',dbgs(Index),'] a TColumn')
> C
--- Andrea Mauri <[EMAIL PROTECTED]> escribió:
> How can I access the DisplayFormat property?
>
> I can see it only in the object inspector and not by code:
>
> DBGrid1.Columns[0] .displayformat
>
> Doesn't exist.
> a.
try TColumn(DBGrid1.Columns[0]).DisplayFormat
Jesus Reyes A.
___