Delete event

This public forum is for user-to-user discussions of PHPMaker. Note that this is not support forum.
Post Reply
gargiulo
User
Posts: 49

Delete event

Post by gargiulo »

I need to add some code during the delete action of record (e.g. to perform calculation in other linked tables after deleting a record)

I see that the server events have a dedicate section when deleting page (e.g. Page_Load, Page_render and so on), but i'm not able to see something appliable on my case (which is after the cancellation of my record), in fact all the events in delete Page appears to be active before the cancellation, and User can select Cancel in place of Delete.

Hope have been exhaustive in my request, thanks for your reply

giorgio


digitalphotoworld
User
Posts: 416
Location: Nürnberg/Germany

Post by digitalphotoworld »

Use Row_Deleting / Row_Deleted events instead. Row_Deleting is fired BEFORE the record is deleted, Row_Deleted is fired AFTER the record is deleted.


mobhar
User
Posts: 11721

Post by mobhar »

gargiulo wrote:
in fact all the events in delete Page appears to be active before the cancellation,
and User can select Cancel in place of Delete.

Always post the real example of your case so others could help you straightforward.


gargiulo
User
Posts: 49

Post by gargiulo »

Thanks, i'll do it


Post Reply