This topic is locked

What's wrong with Sql - get unterminated error

11/9/2004 1:24:13 PM
ASPRunnerPro General questions
D
dpkona author

strSQL="SELECT * FROM Bud2005 INNER JOIN Security ON Bud2005.UserID=Security.UserID WHERE

Security.User = '"& Session("UserID")&"'

Sergey Kornilov admin 11/9/2004

Hi,
make sure Session("UserID") is not empty at this moment.
You can use Response.Write Session("UserID") to print it somewhere on the page.