소스 검색

* 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;