I&#039m trying to clean up my parameters.delete code for an sp by using a For Each..Next loop. If I add response.write as I loop through, I get the same results as I do when I list each parameters.delete seperately. When I use the loop, it causes a type mismatch error on the next page. If I list them seperately, I get no error. If I take out the parameters.delete statements altogether, I again get the type mismatch error. Any ideas?