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
[EMAIL PROTECTED]

_______________________________________________
use-revolution mailing list
[EMAIL PROTECTED]
http://lists.runrev.com/mailman/listinfo/use-revolution

Reply via email to