[AccessD] Constant for quote characters?

Arthur Fuller fuller.artful at gmail.com
Sat May 12 16:05:34 CDT 2007


Excellent!

On 5/12/07, Stuart McLachlan <stuart at lexacorp.com.pg> wrote:
>
> You can also enhance these to "double escape" any embedded quotes:
>
> Function qq( s a String)
>      s = Replace(s,Chr$(34),Chr$(34) & Chr$(34))
>     qq =  Chr(34) & s & Chr(34)
> End Function
>
> Function q( s As String)
>      s = Replace(s,Chr$(39),Chr$(39) & Chr$(39))
>     q = Chr(39) & s & Chr(39)
> End Function
>
>



More information about the AccessD mailing list