Wild Cards for both text and numbers....

Gordon

Gordon
Local time
Today, 14:38
Joined
Nov 25, 1999
Messages
34
Hi,

I'm trying to search a field which has both names and numbers in it.

For purely text entries the wildcard search works just fine.... like this:

Like "*" & [What is Last Name?] & "*"

I can type in "Smi" and get all of the Smith, Smiths, etc.



However, when I try to use this for entries which include numbers (123), which should return "Smi123" I don't get any results at all.

Any suggestions? I can put in the SMI123 as straight text in the criteria box, and will get the appropriate record.... so I know it is there!

Thanks .....

Gordon
 
Like * & [Please enter address] & *

RV,

Thanks so much for the response. Your link took me to the thread where the format Like * & [Please enter address] & * was suggested. I already had tried that, but it was still not returning the desired results.

The solution I found involved simplifying the query which initially involved pulling information from two tables and another query. Even though the query should not have created a filter, it seemed to do so. I've had other experiences where queries produce strange results when too many fields are included.....

Gordon
 

Users who are viewing this thread

Back
Top Bottom