How to update a record before delete

I can confirm that this is side effect.

You can reach this via setting LogChanges := False, updating values inside table, and set LogChanges := True.
after this, no delta change will be created and at next change this record, delta change will be created and all field values will be copied to OldValues arrays.

the same behavior you can reach via updating values inside OldValues for given TDADeltaChange

so i shouldn’t rely on it? or is this unlikely to change in future releases?

TDataService (i.e. TDataAbstractService descendant) has Schema and Connection properties.

also TDABusinessProcessor has Service property that is set to owner’s TDataAbstractService

so i shouldn’t rely on it? or is this unlikely to change in future releases?

this is unlikely to change in future releases

great :slight_smile:
thx!