MB Software Solutions wrote:
>                     TEXT TO lcSQL TEXTMERGE NOSHOW PRETEXT 2
>                         SELECT a1.cacctnum, c1.cname, 
> CONCAT_WS(',',a2.caddr1,a2.caddr2,a2.ccity,a2.cstate,a2.czip) as cAddress
>                           FROM accounts a1
>                          INNER JOIN customers c1
>                              ON c1.iid = a1.icustid
>                          INNER JOIN addresses a2
>                              ON a2.iacctid = a1.iid AND a2.cAddrType = 
> '<<toRecord.cAddrType>>' AND a2.iactive = 1
>                         WHERE c1.name like 
> '%<<ALLTRIM(UPPER(toRecord.cName))%'
>                     ENDTEXT
>
> with the object properties having these values at time of error:
> toRecord.Name = [ART      ]
> toRecord.cAddrType = []
>
> This is for a MySQL query.  After the ENDTEXT line, an exception is 
> thrown with the Exception.Message property reading "Syntax error."
>
> I just don't see it?
>
>   
FORGET IT!  I see it now...I just missed the >> on the last argument.

Doh!


-- 
Michael J. Babcock, MCP
MB Software Solutions, LLC
http://mbsoftwaresolutions.com
http://fabmate.com
"Work smarter, not harder, with MBSS custom software solutions!"



_______________________________________________
Post Messages to: ProFox@leafe.com
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.

Reply via email to