Databases Revolution facility to compensate for ("") and ('') diferences?
Trevor DeVore
lists at mangomultimedia.com
Tue Mar 16 10:56:13 EST 2004
On Mar 16, 2004, at 1:42 AM, Kevin wrote:
> I am wondering if there is a method to handle the ("")/('') diferences
> in Revolution database access. In Perl there is a construct which
> will wrap data in the apropreiate delimiter based on the driver being
> utilized. Is there a similar construct or is it done by someother
> method?
I don't know of anything similar to Perl but it is pretty easy to write
your own. For Valentina database strings I use something like this:
function libDB_Escape pString
replace "'" with "\'" in pString
return "'" & pString & "'"
end libDB_Escape
--
Trevor DeVore
Blue Mango Multimedia
trevor at mangomultimedia.com
More information about the use-livecode
mailing list