Hi all.
I'm trying to insert into sql7 but be able to enter the chars ' ". I'm trying to do a replace but am running into problems... Can anyone see the light??
Thanks in advance
<script language="vbscript">
function clientsafeStr(inputValue)
clientsafestr=inputValue
clientsafeStr= Trim(Replace(clientsafestr,"""",""""""
)
clientsafeStr= Trim(Replace(clientsafestr,"'","''"
)
end function
</script>
I'm trying to insert into sql7 but be able to enter the chars ' ". I'm trying to do a replace but am running into problems... Can anyone see the light??
Thanks in advance
<script language="vbscript">
function clientsafeStr(inputValue)
clientsafestr=inputValue
clientsafeStr= Trim(Replace(clientsafestr,"""",""""""

clientsafeStr= Trim(Replace(clientsafestr,"'","''"

end function
</script>