trigger after delete
Is there a way to execute a code after delete a record?
Hi, Fabio, there are probably more elegant ways to do it than this, but here's how I might move a record to a different table. See Candidates.
Hi Laura. Thanks for your reply.
I don't want to move a record in a different table. I need to execute a trigger code after I push the trash button in Ninox.
Hello Fabio - this is not possible. There is no "onDelete" trigger. But there sure is a workaround.
Thanks for clarifying, Fabio.
(Just to be clear, the code I wrote in the example above *does* delete a record and then take another action—the other action being creating a record elsewhere—so it might be worth a look anyway, just in case it might do as a workaround.)
I already use that solution in other parts of the dB, but it doesn't solve my problem.
HI what would work for for trigger after delete?
i want to delete a reccord in another table that has the same lot#
if i use user control to avoid deleting of a record in table 1 it will not let me delete it with a trigger button eighter
( i was going to stop user from deleting using the garbage can and only be able to delete via button , but it share the same permissions)
any other way?
- 3 yrs agoLast active