This topic is locked
[SOLVED]

 Advice on Best Way to handle cascading Deletes

1/3/2020 1:26:43 AM
ASPRunner.NET General questions
Dalkeith author

ASP Net Runner version 10.3 linked to SQL Azure Database
Could anyone point me in the direction of the best way to handle either cascading delete or a way of pushing up a notice to a user to say that they are not allowed to delete a record until X and Y has been completed.
Thanks

jadachDevClub member 1/4/2020

Use the event under list page > before record deleted.

There you can check if specific record exists in a table or view from your database. If it does exist based on your requirements, return false and provide a message on the list page.

Dalkeith author 1/5/2020



Use the event under list page > before record deleted.

There you can check if specific record exists in a table or view from your database. If it does exist based on your requirements, return false and provide a message on the list page.


Thank you Jerry