Greetings,
I have two fields I am querying: CertNum and GradID. CertNum is varchar and GradID is int. The user looks up info by typing in either their CertNum or GradID. Here's the query:
strCert = Request.QueryString("cert"

Set oRs = objConn.Execute("SELECT * from vw_ProfileNew WHERE (GradID = " & strCert & "


Here's the problem:
Each part of the where clause works great independently. Using 8050B for certnum and 111142 for CertGradID. If I use both clauses together though and type in 8050B, it returns all records which are in the thousands. If I use 111142 though, it works properly. If I take out GradID where clause and use 8050B, it works great. I am at a loss. any thoughts would be greatly appreciated.
Thank you.
Mel