Browse Source

* add missing initialization of the record count

git-svn-id: trunk@29185 -
Tomas Hajny 10 years ago
parent
commit
b30a3e499c
1 changed files with 1 additions and 0 deletions
  1. 1 0
      packages/fcl-db/src/dbase/testdbf.pp

+ 1 - 0
packages/fcl-db/src/dbase/testdbf.pp

@@ -15,6 +15,7 @@ begin
   Assign(F,FN);
   Assign(F,FN);
   Rewrite(F);
   Rewrite(F);
 //  SetTextBuf(F,Buf);
 //  SetTextBuf(F,Buf);
+  Count := 0;
   With TDBF.Create(Nil) do
   With TDBF.Create(Nil) do
     begin
     begin
     TableName:=TN;
     TableName:=TN;