I am trying to make a Selection statement for my Access Database the "checks" 2 values. For example I only want the recordsets that have:
testing("SiteID") = SiteID <--Variable
testing("IPAd") = Request.ServerVariables("REMOTE_ADDR")
This is what I have, but it is not working:
Code:
IPCheck.Open "SELECT * From ClicksIN Where SiteID=" & SiteID & " " & "AND IP_Address=" & Request.ServerVariables("REMOTE_ADDR");"",ObjConn,1,2