Browse Source

* raise an error when locate is used on a closed dataset (patch by
Claudio Romero, mantis #13938)

git-svn-id: trunk@22098 -

Jonas Maebe 13 năm trước cách đây
mục cha
commit
e06d3a6e04
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      packages/fcl-db/src/dbase/dbf.pas

+ 1 - 0
packages/fcl-db/src/dbase/dbf.pas

@@ -1724,6 +1724,7 @@ var
 begin
 begin
   if FCursor = nil then
   if FCursor = nil then
   begin
   begin
+    CheckActive;
     Result := false;
     Result := false;
     exit;
     exit;
   end;
   end;