Cannot modify a read-only dataset
Posted: Thu 06 Sep 2012 21:14
Hi ,
We are using TUniQuery to edit a row from a access database.
SQL for query is something like this
UniQuery.SQL.Text:= 'Select * from "TableName" where sqlid = :sqlid'
UniQuery.params[0].Value := FSQLID;
UniQuery.Edit
but when we try to do UniQuery.Edit we getting the error "Cannot modify a read-only dataset"
I checked that isReadonly is false and unidirectional is false too. But when I checked canModify its returning as false. Realy not sure what's going on
Please help.
Thanks.
We are using TUniQuery to edit a row from a access database.
SQL for query is something like this
UniQuery.SQL.Text:= 'Select * from "TableName" where sqlid = :sqlid'
UniQuery.params[0].Value := FSQLID;
UniQuery.Edit
but when we try to do UniQuery.Edit we getting the error "Cannot modify a read-only dataset"
I checked that isReadonly is false and unidirectional is false too. But when I checked canModify its returning as false. Realy not sure what's going on
Please help.
Thanks.