jgoodman00
Programmer
- Jan 23, 2001
- 1,510
I need to insert a very long string from a text area into an access table. The column is set as text datatype, & if I execute the sql which is generated by the asp page, from within access it executes perfectly. However, if I attempt the insert from an asp page, it fails with a multitude of errors from what looks like string truncation.
At the moment, I am dynamically creating a SQL string within my page & then using the Execute method of the Connection object to make the insert:
At the moment, I am dynamically creating a SQL string within my page & then using the Execute method of the Connection object to make the insert:
Code:
strSQL = "INSERT INTO SomeTable("TextColumn") VALUES ('" & Request.Form("TextArea") & "'"
objConn.Execute
Any suggestions?
James Goodman MCSE, MCDBA
[URL unfurl="true"]http://www.angelfire.com/sports/f1pictures[/URL]