Well, if you think it's necessary :)
TEXT TO m.lcSQL TEXTMERGE NOSHOW
SELECT ;
0 as nSelected, ;
m.ptCutOff AS dCutDate, ;
members.uid, ;
members.mkey, ;
members.surname ;
FROM ;
members
ENDTEXT
loRegex=CREATEOBJECT('vbscript.regexp')
m.loRegex.Global = .t.
m.loRegex.Pattern = ";\s*\r\n\s*"
m.lcSQL = m.loRegex.Replace(m.lcSQL,"")
?m.lcSQL
> Message: 8
> Date: Wed, 23 Jul 2008 17:18:41 -0400
> From: "Tracy Pearson" <[EMAIL PROTECTED]>
> Subject: RE: SQL Passthru and long commands
> To: [EMAIL PROTECTED]
> Message-ID: <[EMAIL PROTECTED]>
> Content-Type: text/plain; charset="us-ascii"
>
> Wouldn't you want to be on the safe side and check for tabs and spaces after
> the semi-colon before the CR and LF?
>
>
Mike
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/profox
OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: http://leafe.com/archives/byMID/profox/[EMAIL PROTECTED]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.