TClientDataset ApplyUpdates error because of database table constraint
问题 I have an old Delphi 7 application that loads data from one database table, make many operations and calculation and finally writes records to a destination table. This old application calls ApplyUpdates every 500 records , for performances reasons. The problem is that, sometimes, in this bunch of records lies one that will trigger database constraint; Delphi fires an exception on ApplyUpdates . My problem is I don't know which record is responsible for this exception. There are 500