Dec 15

Print this Post

Safe Escape Function (escp)

Check to see if a value is null prior to passing it to the vb escape function to prevent errors using the escape function.

function escp(input)
	if isnull(input) then
		escp = ""
		escp = escape(input)
	end if
end function

Permanent link to this article: https://www.wperry.net/code/escp/

Leave a Reply

Your email address will not be published. Required fields are marked *