Apply Updates
Posted: Thu 19 Jan 2012 09:21
I have problem with TOraTable when CachedUpdates are true. I have a table with primary key which is single column. Than i have unique two column index. Now when i:
Insert new record into table
Delete old record
Update inserted record so it have same unique index as deleted record
When i ApplyUpdates i get error on the unique index. Component generate insert with same index values before it deletes old record.
Is there any way to go around this behavior?
Insert new record into table
Delete old record
Update inserted record so it have same unique index as deleted record
When i ApplyUpdates i get error on the unique index. Component generate insert with same index values before it deletes old record.
Is there any way to go around this behavior?