|
|
Sergey Kornilov admin 11/2/2011 |
|
Syntax looks correct. Try to print the whole SQL Query on the page to see what might be wrong. |
|
|
P
|
Philip author 11/2/2011 |
|
Syntax looks correct. Try to print the whole SQL Query on the page to see what might be wrong.
|
|
|
|
Sergey Kornilov admin 11/2/2011 |
|
Make sure you print it before error happens. |
|
|
P
|
Philip author 11/2/2011 |
|
Make sure you print it before error happens. You can also add Response.End line after Response.Write to make sure it always printed.
|
|
|
|
Sergey Kornilov admin 11/2/2011 |
|
Where and how you trying to print this SQL Query right now? |
|
|
P
|
Philip author 11/2/2011 |
|
Where and how you trying to print this SQL Query right now?
|
|
|
|
Sergey Kornilov admin 11/2/2011 |
|
You need to print SQL Query and WHERE clause in BeforeSQLQuery event using Response.Write statements. |
|
|
P
|
Philip author 11/2/2011 |
|
Sergey, strWhereClause = whereAdd(strWhereClause,"TEXTfield='" & Session("TEXTfield") & "'")
strWhereClause = whereAdd(strWhereClause,"TABELname.TEXTfield='" & Session("TEXTfield") & "'")
|
|