Deletion of Document from view based on Stataus?

if you right click on any document in the view , it will show pop-up menu such as :-Document Properties, cut,copy,paste,Delete and etc. i want that when Status=“Approve” at that time deletion will not take place in the Calendar view?

Thanks & Regards

Rupesh Kumar Routray.

Subject: Deletion of Document from view based on Stataus?

In the database Script under the document delete event… take the handle of the current view and check if it is the same view and the status of the document as required … donot delete the document