
October 18th, 2000, 11:46 AM
|
|
Contributing User
|
|
Join Date: Dec 2002
Posts: 14,575
  
Time spent in forums: < 1 sec
Reputation Power: 23
|
|
|
Question: Passing Text Quotes into Sql Database
<i><b>Originally posted by : Phil D. (phild@cuttingedgemedia.com)</b></i><br />Hello All,<br /><br />I am trying to pass qoutes from an HTML form to a SQL database. The problem that I am experiencing is that the quotes truncate the text in when it is passed into the database. So far i have tried to use the Replace Function to no avail..<br /><br />ex.<br />tempSqlText = Replace(tempFormText,""","''")<br /> no go of course ...<br />also tried<br />tempSqlText = Replace(tempFormText,chr(39),"''")<br /> and this too did not work properly.<br /><br />does anyone have any other suggestions? Your help would be greatly appreciated.<br /><br />Thanks,<br />Regards,<br />Philip E. Deren<br />
|