In a Lazarus example...
In the following example, we create a table with 2 field
for each records
Dbf1.FilePathFull := '/path/to/my/database';
Dbf1.TableName := 'dvds';
With Dbf1.FieldDefs do begin
Add('Name', ftString, 80, True);
Add('Description', ftMemo, 0, False);
Add('Rating', ftString, 5, False);
end;
Dbf1.CreateTable;
Id and Name
But Now, how I can add records with employees Name.
(I suppose that the field Id(with ftAutoInc) will
be incremented by addind records)
With dBase I used
Append Blank
Replace Name with Employename
close databases
I Suppose Dbf1.Edit... but i don't know how to ?
Thanks a lot....