[Lazarus] TDBF File is NOT created!!! FieldDefs.add( field, param, param ) does NOT create fields.

waldo kitty wkitty42 at windstream.net
Wed Sep 1 19:00:50 CEST 2010


On 9/1/2010 08:45, Peter E Williams wrote:
> Hi all,
>
> 	This one is really puzzling. I thought that I was doing everything okay
> to generate a new TDBF file... but I cannot create the file. The
> following is tracetestUnit1.pas which is a test unit to create a dBase
> format TDbf database file.
>
> Output to memo1 follows:
>
> FilePath
> = /home/pewink/Public/My_code/Lazarus_source/pewink/Hexxpawn/lazarus/0.5.alpha/
> TableName = hex8_log.dbf
> Trace File does not exist.
> closing Trace file.

ummm.... the file doesn't exist yet you close it anyway without it having been 
opened?

> Starting to add fields with .FieldDefs
> finished adding fields.
> closing trace file.
> Opening Trace File.
> Exception opening trace file.




More information about the Lazarus mailing list