ASP/Vbscript Escape Function for AccessDB
Moderator: General Moderators
ASP/Vbscript Escape Function for AccessDB
I'm doing a small project for work and the only combo that I can use is ASP/VBscript with an Access DB(ewww). The only thing that I cant figure out is how to escape inputs so I can put special characters into the db. Any assistance on this would be appreciated. Thanks, Tyler
Do you use adodb and something like?
Then escaping, encoding, ... is done by ADODB.Recordset object recset.
Code: Select all
recset.AddNew
recset("field1") = "yaddayadda"
recset("field2") = Request.Form("xyz")
recset.UpdateThen escaping, encoding, ... is done by ADODB.Recordset object recset.