Subject BeforeDelete Event
Author Enrico Cima
Hi All,



I have the case that during a BeforeDelete Event into an IB_Query, I check if the record can be deleted or not.

If the record can't be delete for any project reason (maybe the record has some other links to be deleted before), how I can cancel the operation at this step?





void __fastcall TTF_Art_Base::IB_Q_IMMBeforeDelete(TIB_Dataset *IB_Dataset)

{



// ... check existence for example of movements of this Article in the DB

// . if movements existence, don't want to proceed here, is possible to skip the delete here?



}





How I can do this?



Thanks!

Bye!




[Non-text portions of this message have been removed]