I'm using conn.CreateDynaSet to get my result set from my Oracle database. When I use it to try to do an INSERT into my database, I get a "comment missing" error, which makes no sense (could be a syntax/typo though). If I use a conn.execute to do the INSERT, I get a "Object doesn't support this property or method" error message.
may be there are some apostrophe's in the request variables...
try using replace() function to replace single quote with double quotes...
try this:
set insStmt = conn.CreateDynaSet("INSERT INTO TBL_REQUIREMENTS (POINT_OF_CONTACT, FAX) VALUES ('"&Replace(request("POC"),"'","''")&"','"&replace(request("FAX"),"'","''")&"'",Cint(0))
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.