You haven't closed the parenthesis...
SQLstr = "INSERT INTO projectSupportDoc (fileName, projectID) VALUES ('" & n
& "','" & Request.QueryString("pid") &"')"
Ade
-----Original Message-----
From: Asim Manzur [mailto:[EMAIL PROTECTED]
Sent: 04 January 2005 20:17
To: CF-Talk
Subject: ASP Query
is this something wrong with this query?
SQLstr = "INSERT INTO projectSupportDoc (fileName, projectID) VALUES ('" & n
& "','" & Request.QueryString("pid") &"'"
the complete code is
SQLstr = "INSERT INTO projectSupportDoc (fileName, projectID) VALUES ('" & n
& "','" & Request.QueryString("pid") &"'"
Set dbrs = Server.CreateObject("ADODB.RecordSet")
dbrs.Open SQLstr, dbConn, , , adCmdText
dbrs.Close
Set dbrs = Nothing
please someone help.
--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.296 / Virus Database: 265.6.8 - Release Date: 03/01/2005
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Discover CFTicket - The leading ColdFusion Help Desk and Trouble
Ticket application
http://www.houseoffusion.com/banners/view.cfm?bannerid=48
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:189298
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54