OnDelete not called

SvenHeuer

Member²
Marco,

is this a WAD?

TDataSet in CachedUpdate (Master of a Detail DataSet)
Insert a record (and do not post it). Insert a record on a detail DataSet. Delete the Master-Record.

The OnDelete handler will not be called ?

Greetings
Sven
 
Before looking into this, which OnDelete handler are you referring to?

------------------
Marco Kalter
Allround Automations
 
If the newly inserted record isn't posted yet, it will effectively be cancelled when you delete it. That's why the BeforeDelete event does not fire.

------------------
Marco Kalter
Allround Automations
 
Back
Top