Thread View: borland.public.delphi.database.bdp
1 messages
1 total messages
Started by Tran Duy An
Tue, 15 May 2007 12:46
Displayed field width in DBF file
Author: Tran Duy An
Date: Tue, 15 May 2007 12:46
Date: Tue, 15 May 2007 12:46
20 lines
1488 bytes
1488 bytes
Hello,
In my program, I created a dBase table from code with a lot of fields of
different field types (ftInteger, ftFloat). When I opened this table in
Excel, the width of the fields were too wide and I had to adjust them so
many times to fix them into the window. I tried to reduced the width by
using precision property as follows, but it did not work:
with FieldDefs.AddFieldDef do
begin
Name := 'TIME';
DataType := ftFloat;
Precision:= 4;
end;
I would be grateful if you could show me how to reduce the displayed field
width.
Regards,
Cocu
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads