Преглед изворни кода

* CanModify shoud not be dependent on active

git-svn-id: trunk@5663 -
joost пре 18 година
родитељ
комит
642e611f88
1 измењених фајлова са 1 додато и 1 уклоњено
  1. 1 1
      fcl/db/sqldb/sqldb.pp

+ 1 - 1
fcl/db/sqldb/sqldb.pp

@@ -1273,7 +1273,7 @@ Function TSQLQuery.GetCanModify: Boolean;
 begin
   // the test for assigned(FCursor) is needed for the case that the dataset isn't opened
   if assigned(FCursor) and (FCursor.FStatementType = stSelect) then
-    Result:= Active and  FUpdateable and (not FReadOnly)
+    Result:= FUpdateable and (not FReadOnly)
   else
     Result := False;
 end;