the WADAs_applications recordset that you are using to return the file name and folder name is not filtered.
create another recordset to query the s_applications table, set this recordset to filter the aID on the WADADeleteRecordID form element, and use that recordset in the delete behaviors for the file and folder name settings.