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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to use a wildcard in a form

Status
Not open for further replies.

simonwerner

Programmer
Joined
Aug 29, 2005
Messages
2
Location
CH
Hello,

I have a query that has the selection referencing a form text label. For example, in the query critera box I have
Code:
[Forms]![Frm_Development]![selectedMonth]
This works find if I want to make only one selection in the field. However if I put a "*" (minus the quotation marks) in the form text label it will interprete the star as a string. How do I get the query to interprete the star as a wildcard?

thanks for you help,
Si
 
Try changing your query to say

like [Forms]![Frm_Development]![selectedMonth]

instead of =[Forms]![Frm_Development]![selectedMonth]

ChaZ

There Are 10 Types Of People In The world:
Those That Understand BINARY And Those That Don’t.
 
That did the trick, thanks for the tip ChaZ.

Si
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top