Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

missing semicolon!

Status
Not open for further replies.

Forecaster71

Technical User
Apr 12, 2008
7
0
0
SE
I get an error that I cannot solve. As far as I know it should not be there

this is the row:

Set rsUser = objConnection.Execute(SQLQuery)

should there be a semicolon and if so where?
 
What does "SQLQuery" contain?

The VB statement doesn't need a semicolon but the SQL might.
 
The SQL query contains:
QLQuery = "INSERT INTO users(userAbout) VALUES ('"&info&"') WHERE userID = "&Request.Cookies("Database")("userID")&
 
What should I do if I where to use UPDATE instead?
I haven't used that mutch...
 
QLQuery = "UPDATE users SET userAbout = '"&info&"' WHERE userID = "&Request.Cookies("Database")("userID")&""

r937.com | rudy.ca
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top