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!

Parameter in Queries

Status
Not open for further replies.

genevi

Technical User
Jun 28, 2000
4
CA
In the criteria of a query I can use a parameter from a text box of a form.<br>If I put Like * in the text box, Acces will think it is a string. But I want Access to interpret this like the function Like *. Is it possible to do such thing?<br><br>Thanks<br>Genevi<br>&nbsp;
 
<br><b>&quot;Where [field] like &quot;&quot;*nevi&quot;&quot;&quot;</b><br><br><br>... or using embedded variable<br>Dim var as String<br>var = &quot;nevi&quot;<br><br><br><b>Where [field] like &quot;&quot;*&quot; & var & &quot;&quot;&quot;&quot;</b><br><br>Both of these will find your user name.<br> <p>Amiel<br><a href=mailto:amielzz@netscape.net>amielzz@netscape.net</a><br><a href= > </a><br>
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top