MetroToday
MIS
I am having trouble with SQL when I want to check two text boxes. It gives me a syntax error. Below is the code that I have.
(All in one line)
oRS.open "SELECT * FROM tbldata WHERE DealNum=" & Request.Form("Deal" AND WHERE Sequence=" & Request.Form("Sequence" , "DSN=WiresASP"
(All in one line)
oRS.open "SELECT * FROM tbldata WHERE DealNum=" & Request.Form("Deal" AND WHERE Sequence=" & Request.Form("Sequence" , "DSN=WiresASP"