Thanks for the help. I actually moved the whole Connection and recordset out of the sub routine and inserted it into the ProductDetail.asp file. <BR>Incidentally, when I remove the <%ProdRset.movenext%> as you suggested, the browser hunts for a long time, the progress meter creeps along slowly and after a while [40 sec.] the page loads blank. <BR>Adding the line again results in an instant load of the page.