On 3/12/2013 3:22 PM, Frank Cazabon wrote:
Mike,
if you use parameters, then you won't have to worry about extra double
or single quotes.
cName = "%Bob%"
sqlStatement = "select Fname, Lname from customer where Fname like ?cName"
Frank.
Frank Cazabon
Just remember to make sure the variable is PRIVATE in scope (not LOCAL),
iirc.
--
Mike Babcock, MCP
MB Software Solutions, LLC
President, Chief Software Architect
http://mbsoftwaresolutions.com
http://fabmate.com
http://twitter.com/mbabcock16
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.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.