Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Like Query From a Form 2

Status
Not open for further replies.

ally

Technical User
Jul 17, 2000
3
GB
How do I create a query which will search through a group of patients notes to find any words I choose?<br>I tried saying, <br>Like [Forms]![listPatients]![Notes]<br>This works, but now I want the query to find the word if it is similar (using a wildcard?)<br>I want it to be able to identify for example &quot;smith&quot;, &quot;aassmithssaa&quot;, &quot;john smith&quot;, is this possible from another form?<br>I hope that isn't too ambigious<br>Thanks<br><br>Ally
 
thats very common question<br><br>heres the answer:<br><br>Like &quot;*&quot;&[Forms]![listPatients]![Notes]&&quot;*&quot;<br><br>-the <b>&'s</b> makes the query think you typed <b>*</b>yourquerytext<b>*</b> into the field on the form.<br> <p>Peter Heaton<br><a href=mailto:heaton@characterlink.net>heaton@characterlink.net</a><br><a href= it how ever you want</a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top