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

Richard Saunders saunders.richard.p at gmail.com
Wed Sep 1 14:57:51 CEST 2010


  On 9/1/2010 8:45 AM, Peter E Williams wrote:
> 	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.

Looks like you are missing a call to the CreateTable method.

See 
http://wiki.lazarus.freepascal.org/Lazarus_Tdbf_Tutorial#Go_ahead_and_create_it.21

-- 
Rich S.





More information about the Lazarus mailing list