Dataset not in Edit or insert mode
Posted: Tue 01 Jan 2013 09:40
Hi,
In my Firemonkey-app I use a TMyQuery which is connected to a TStringgrid.
When the last record is selected I can successful insert a new record through a Query.insert command.
However when I select another record in my grid and get the following error by inserting a record:
"Dataset not in Edit or Insert mode"
There are no problems by updating or deleting.
Anybody any thoughts about this. Do you guys advise me for using a clientdataset?
Best regards!
In my Firemonkey-app I use a TMyQuery which is connected to a TStringgrid.
When the last record is selected I can successful insert a new record through a Query.insert command.
However when I select another record in my grid and get the following error by inserting a record:
"Dataset not in Edit or Insert mode"
There are no problems by updating or deleting.
Anybody any thoughts about this. Do you guys advise me for using a clientdataset?
Best regards!