Thanks for your explanation. I did not realize that but understand now.
On the results page the recordset returns all records, no URL varaibles are used so when posting the form on the resultspage just re-crreates the recordset with records again. That's why it is working on the resultspage, however on the detail page you filter by URL variable the first time the page loads but when submitted there are no URL varaibles passed anymore resulting in an empty recordset for the delete file behavior to use. Am i correct?
If so then i understand.
I will add the hidden form element to store the filename for deletion and try again.
Thanks again Jason it was very helpfull.