Got it, thanks Frank!
-------- Original Message --------
Subject: Re: SQL statement formation
From: MB Software Solutions, LLC
<[email protected]>
To: [email protected]
Date: 3/12/2013 3:04 PM
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.
_______________________________________________
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.