DOA 4.1.2.2
Delphi XE SP1
OracleDataset - DataSource - DBGrid.
1. On DBGrid I press "Insert" key. The new record append.
2. Then I enter any value to field on new record and remove this value.
3. Click "Apply updates" button on DBNAvigator. The changes saved to new record.
4. When I try to edit this new empty record then error occured:
A lock, refresh or check cannot be performed without a rowid.
Provide a rowid in the query or handle this action in the OnApplyRecord event.
Because the record is not inserted into table.
How I can really insert new empty record through DBGrid?
Delphi XE SP1
OracleDataset - DataSource - DBGrid.
1. On DBGrid I press "Insert" key. The new record append.
2. Then I enter any value to field on new record and remove this value.
3. Click "Apply updates" button on DBNAvigator. The changes saved to new record.
4. When I try to edit this new empty record then error occured:
A lock, refresh or check cannot be performed without a rowid.
Provide a rowid in the query or handle this action in the OnApplyRecord event.
Because the record is not inserted into table.
How I can really insert new empty record through DBGrid?
Last edited: