Skip to main content

Hi,

 

I have two list views. One is for master and another is detail.

Master view has a 'Delete' button.

 

My requirement is :

Select one master record and then on pressing the 'Delete' button

 1. First , I  want to delete details of that selected master

2. then, delete that master.

 

Thanks with Regards,

JD

I think the easiest way to accomplish this would be to write a stored procedure capable of deleting a master record and all of its children in one call. You would invoke this stored procedure when you click the Delete button, and then refresh the master list.


Reply