How to delete response documents

i have three views in viewa i created documents in view b i created response for above document

in view c i created response to reponse for above document

now i want to delete all reponses for main document how

can i acheive this…

Subject: In Lotusscript

Assuming these are true response documents, you’ll need to write a recursive function using notesDocument.Responses that can be called for the main document. You can see an example of a recursive function for putting all responses (and responses to responses) for a given document in a folder in Designer Help for notesDocument.Responses.