Dec 15

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:

Leave a Reply

Your email address will not be published.