longmatch
Programmer
- Nov 1, 2001
- 406
I ran into a problem when I ran a query in my ASP page. My query works when it is run in ACCESS database. But it did not work in ASP page. Don't know why.
strSQLSummary = "SELECT Count(Prococedure) AS NOProcedure, category "
strSQLSummary = strSQLSummary & "FROM FORM_ID_198163500 GROUP BY category HAVING baylorID= "haijunw""
It looks like something is wrong with the string in HAVING clause.
If you can give me a explaination, that will be great.
Haijun
strSQLSummary = "SELECT Count(Prococedure) AS NOProcedure, category "
strSQLSummary = strSQLSummary & "FROM FORM_ID_198163500 GROUP BY category HAVING baylorID= "haijunw""
It looks like something is wrong with the string in HAVING clause.
If you can give me a explaination, that will be great.
Haijun