Subject RES: [IBO] BeforeDelete Event
Author Luiz

Use Suysutils.Abort.


De: [] Em nome de
Enrico Cima
Enviada em: domingo, 8 de julho de 2012 17:38
Assunto: [IBO] BeforeDelete Event

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?



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

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