* CanModify shoud not be dependent on active

git-svn-id: trunk@5663 -
This commit is contained in:
joost 2006-12-21 19:49:56 +00:00
parent 0c3afc0cf4
commit 642e611f88

View File

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