here's what i got (it pointed to the end of the screen)
Microsoft JScript compilation error '800a03ee'
Expected ')'
/mar03test/ClickTracker.as
Response.Write("INSERT INTO dbo.ClickTracker (ClickDate, MemberID, AdvertiserName) VALUES (GETDATE (), '"+ rs2__myID.replace(/'/g, "''") + "', '"+ rs2__myAdv.replace(/'/g, "''") + "'";)
--------------------------
Main Topics
Browse All Topics





by: crackyPosted on 2004-02-15 at 22:24:04ID: 10369698
The best way to check this query would be to write it back to the browser for debugging. You would better be able to see that you are using the correct syntax for your db.
It's been a while since I have coded in ASP, but a simple
<%= "INSERT INTO dbo.ClickTracker (ClickDate, MemberID, AdvertiserName) VALUES (GETDATE (), '"+ rs2__myID.replace(/'/g, "''") + "', '"+ rs2__myAdv.replace(/'/g, "''") + "'; %>
At the end of your script should give you an idea.
Reply with the output and I might be able to help.