<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<TITLE>Message</TITLE>
<META content="MSHTML 6.00.2800.1141" name=GENERATOR></HEAD>
<BODY>
<DIV><SPAN class=265082703-06062003><FONT face=Arial color=#0000ff
size=2>Jim,</FONT></SPAN></DIV>
<DIV><SPAN class=265082703-06062003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=265082703-06062003><FONT face=Arial color=#0000ff size=2>That
would be great, I would really appreciate that...</FONT></SPAN></DIV>
<DIV><SPAN class=265082703-06062003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=265082703-06062003><FONT face=Arial color=#0000ff size=2>If you
could send it to <A
href="mailto:actebs@actebs.com.au">actebs@actebs.com.au</A></FONT></SPAN></DIV>
<DIV><SPAN class=265082703-06062003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=265082703-06062003><FONT face=Arial color=#0000ff size=2>Thanks
again</FONT></SPAN></DIV>
<DIV><SPAN class=265082703-06062003><FONT face=Arial color=#0000ff
size=2>Vlad</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left><FONT
face=Tahoma size=2>-----Original Message-----<BR><B>From:</B>
accessd-bounces@databaseadvisors.com
[mailto:accessd-bounces@databaseadvisors.com] <B>On Behalf Of </B>Jim Lawrence
(AccessD)<BR><B>Sent:</B> Friday, 6 June 2003 12:34 AM<BR><B>To:</B>
accessd@databaseadvisors.com<BR><B>Subject:</B> RE: [AccessD] Like Operator
SQL Syntax<BR><BR></FONT></DIV>
<DIV><SPAN class=860362214-05062003><FONT face=Arial color=#0000ff size=2>Hi
Vlad:</FONT></SPAN></DIV>
<DIV><SPAN class=860362214-05062003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=860362214-05062003><FONT face=Arial color=#0000ff size=2>I
have a little piece of code that is stored with all my applications. When set
it writes a specific result string into memory. If there are some
issue the code can be pasted into a Access query or SQL SP and tested
there. It makes it a lot easier to resolve tricky string problems. I could
send it all offline.</FONT></SPAN></DIV>
<DIV><SPAN class=860362214-05062003><FONT face=Arial color=#0000ff
size=2></FONT></SPAN> </DIV>
<DIV><SPAN class=860362214-05062003><FONT face=Arial color=#0000ff
size=2>HTH</FONT></SPAN></DIV>
<DIV><SPAN class=860362214-05062003><FONT face=Arial color=#0000ff
size=2>Jim</FONT></SPAN></DIV>
<BLOCKQUOTE dir=ltr style="MARGIN-RIGHT: 0px">
<DIV class=OutlookMessageHeader dir=ltr align=left><FONT face=Tahoma
size=2>-----Original Message-----<BR><B>From:</B>
accessd-bounces@databaseadvisors.com
[mailto:accessd-bounces@databaseadvisors.com]<B>On Behalf Of
</B>ACTEBS<BR><B>Sent:</B> Thursday, June 05, 2003 7:56 AM<BR><B>To:</B>
access group<BR><B>Subject:</B> [AccessD] Like Operator SQL
Syntax<BR><BR></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN class=531174814-05062003>Hi
People,</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=531174814-05062003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=531174814-05062003>Can anyone tell
me what wrong with the following syntax:</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=531174814-05062003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=531174814-05062003>strSQL = "SELECT
tblCustomers.CustomerID, "
_<BR>
& "[tblCustomers]![CustomerNumber] & '-' &
[tblCustomers]![CustomerSite] "
_<BR>
& "AS CustCode, tblCustomers.CustomerName, tblCustomers.Address1 & '
' & "
_<BR>
& "tblCustomers.Address2 & ' ' & tblCustomers.Address3 & ' '
& "
_<BR>
& "tblCustomers.Postcode AS Address, tblCustomers.DepotID FROM
tblCustomers "
_<BR>
& "WHERE (((tblCustomers.CustomerName) Like % + "
_<BR>
& strInput & " + %)) "
_<BR>
& "ORDER BY tblCustomers.CustomerName;"</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=531174814-05062003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN class=531174814-05062003>I am creating an
ADO recordset and obviously ADO use % as the wild card and not * so I am not
sure where the issue currently is...</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=531174814-05062003></SPAN></FONT> </DIV>
<DIV><FONT face=Arial size=2><SPAN
class=531174814-05062003>Thanks</SPAN></FONT></DIV>
<DIV><FONT face=Arial size=2><SPAN
class=531174814-05062003>Vlad</SPAN></FONT></DIV>
<DIV> </DIV></BLOCKQUOTE></BLOCKQUOTE></BODY></HTML>