` Printed Icetips Article

Icetips Article



Par2: Acting after a delete is confirmed
2007-12-15 -- Paul Howard
 
Also, after parent.PrimeUpdate in Browse Update Form:

IF (SELF.Request=DeleteRecord) AND (SELF.Response=RequestCompleted) THEN
   !Do Stuff after successful parent delete action
END

This has the added benefit of working consistently from any browse that 
deletes records from that file using that update form.  This is very 
important if you have MRTs (Mostly Related Tables ).  If you can 
define cascade delete in dictionary, that would be better.

Dictionary triggers might be even better.



Printed November 21, 2024, 12:36 pm
This article has been viewed/printed 35222 times.