Subject | TIBOQuery.canModify allways true |
---|---|
Author | William Hill |
Post date | 2001-11-11T17:39:35Z |
Greetings,
I have been experimenting with accessing databases
as read only and have come across the following problem
when the following properties have been set:-
TIB_Transaction.readOnly := true;
TIBOQuery.readOnly := true;
TIBOQuery.requestLive := false;
If I use a simple select statement such as select * from table,
open the TIBOQuery and test the canModify property it
returns true. If I then try and edit the current row I get the
following error "Cannot Edit current Row" which is correct.
Why is canModify returning true when it should be returning false ?
Delphi 5
IBO 3.6.C
Interbase 6.1
Regards,
Willaim.
[Non-text portions of this message have been removed]
I have been experimenting with accessing databases
as read only and have come across the following problem
when the following properties have been set:-
TIB_Transaction.readOnly := true;
TIBOQuery.readOnly := true;
TIBOQuery.requestLive := false;
If I use a simple select statement such as select * from table,
open the TIBOQuery and test the canModify property it
returns true. If I then try and edit the current row I get the
following error "Cannot Edit current Row" which is correct.
Why is canModify returning true when it should be returning false ?
Delphi 5
IBO 3.6.C
Interbase 6.1
Regards,
Willaim.
[Non-text portions of this message have been removed]