Now properly closes the file base datafiles
This commit is contained in:
parent
a333e34264
commit
f19f661819
|
@ -148,7 +148,7 @@ Begin
|
|||
List.AllowTag := True;
|
||||
List.SearchY := 21;
|
||||
|
||||
If FileSize(FBaseFile) = 0 Then InsertRecord;
|
||||
//If FileSize(FBaseFile) = 0 Then InsertRecord;
|
||||
|
||||
Box.Open (15, 5, 65, 21);
|
||||
|
||||
|
@ -214,6 +214,8 @@ Begin
|
|||
End;
|
||||
Until False;
|
||||
|
||||
Close (FBaseFile);
|
||||
|
||||
Box.Close;
|
||||
List.Free;
|
||||
Box.Free;
|
||||
|
|
Loading…
Reference in New Issue