jimeinstein
Starting Member
China
1 Posts |
Posted - 13 May 2003 : 00:43:57
|
The function below, SQLparse, smashed my database twice :( Is there any char with ASCII>127 ? I'm using Chinese OS which can not display that.
function SQLparse(s) '********************************************* '* This just does a charater replacement on my '* insert and update sections '* so I don't blow up the database. '* Wes Brown '********************************************* dim tmp tmp = s tmp = replace(tmp, "?, "'") tmp = replace(tmp, "`", "'") tmp = replace(tmp, "'", "''")
SQLparse = tmp 'SQLparse end end function |
|
|
|