mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-16 16:59:12 +02:00
* CanModify shoud not be dependent on active
git-svn-id: trunk@5663 -
This commit is contained in:
parent
0c3afc0cf4
commit
642e611f88
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user