trigger after delete
Hi.
Is there a way to execute a code after delete a record?
Thanks
Fabio
9 replies
-
Guys?
-
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.
https://www.dropbox.com/s/clp3o6ew5f8vk7v/Record%20delete%20example.ninox?dl=0
-
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.Thanks
Fabio
-
Hello Fabio - this is not possible. There is no "onDelete" trigger. But there sure is a workaround.
Birger
-
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.
Many thanks..
Fabio
-
-
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?
Content aside
- 4 yrs agoLast active
- 9Replies
- 2805Views