From 642e611f8889c346c10ec50b84f4a9f324355ad8 Mon Sep 17 00:00:00 2001 From: joost Date: Thu, 21 Dec 2006 19:49:56 +0000 Subject: [PATCH] * CanModify shoud not be dependent on active git-svn-id: trunk@5663 - --- fcl/db/sqldb/sqldb.pp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/fcl/db/sqldb/sqldb.pp b/fcl/db/sqldb/sqldb.pp index 83f592cee8..78874bf8f8 100644 --- a/fcl/db/sqldb/sqldb.pp +++ b/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;