Thank you all for your previous advice but I have realized I erred in my request.<BR><BR>In my previous question I had asked about the correct syntax to execute this SQL statement using a variable:<BR><BR>SELECT tblBlah.* FROM tblBlah WHERE (ID =&#039; + Session("Blah#") + &#039;) <BR><BR>What I failed to realize is that the Recordset DTC I am using is JavaScripted and the syntax rules must be different - they must be because none of the suggestions worked. When ever I add a &#039; the JavaScript adds an / to it as well?<BR><BR>Any help now?