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