Urgent: Need to delete group of related documents via web

I have a form called Credit. From a document using Credit, users can create documents using CreditFile.

When users delete a Credit doc, I also want to delete all associated files using CreditFile.

The field Parent_ID in Credit File = the field IS in Credit. However, currently Credit File is NOT configured to be a Response.

Any idea on how I could do this? I would like a button on the Credit web form. I am assuming that in order to have a button, I could need that button to call an agent. I am not to sharp on how to construct such an agent or how to call it (or even pass the ID field value to the agent).

Help!

Subject: Urgent: Need to delete group of related documents via web

you are on the right track. You will set up a view with all of the CreditFile docs sorted by Parent_ID. Pass the parent ID through the query_string to the agent. The agent will findalldocs from the view and remove them. This is a pretty standard agent, and the help files in designer are very helpful.