tehon3299
Well-known member
Is this a valid SQL Statement??
UserID is in table tmUserInfo and Last is in the table also. If I put that query in the SQL Query Analyzer with out the INTO statement it works fine. Im just not sure about that INTO statement. It must be wrong, because it is not working.
Thanks
Code:
"SELECT Last INTO txtLast.Text.ToString FROM tmUserInfo WHERE UserID = tehon3299"
UserID is in table tmUserInfo and Last is in the table also. If I put that query in the SQL Query Analyzer with out the INTO statement it works fine. Im just not sure about that INTO statement. It must be wrong, because it is not working.
Thanks