| |
anton
Posts: 11
Score: 0
Joined: 6/9/2001
From: USA
Status: offline
|
I'm writing an ASP page using VBScript to insert data into a SQL table. After I execute the string I'm getting the error Incorrect syntax near ')'. The code where I declare the query string is as follows: '------------------------------------------------------------------------ InsSicLog = "Insert leads (siclogin) values ("&SicCounter&")" '------------------------------------------------------------------------ where siclogin is the column name in leads table and SicCounter is a variable defined earlier in the code. I know this is just a syntax problem, but I can't figure out what I am doing wrong. Any help would be greatly appreciated. Thanks!
|
|