|
hessfirm -> replace function integrated into drw (6/10/2008 9:38:18)
|
hi everyone! anyone know how i would use a replace function and then integrate into the drw? here's my function: <%public function fSanitize(strText) replace (strText, "'", "''") replace (strText, ";", ",") replace (strText, "(", "") replace (strText, ")", "") replace (strText, "=", "") replace (strText, "xp_", "") replace (strText, "/*", "") replace (strText, "*/", "") replace (strText, "--", "") End Function%> and here's my sample drw: fp_sQry="SELECT * FROM view_xxx WHERE city IN (::city::) and state = '::state::' Thanks!
|
|
|
|