Wildcards

  • Thread starter Thread starter Brent
  • Start date Start date
B

Brent

I have a table I want to look for matching records in. One of the options
that data entry people have is to enter wildcards into records if they can't
read the ID# off of a receipt. I want to be able to match records that use
the wildcards as a criteria. i.e. once record says 12345 and another record
is 12?45.

any ideas.

Brent
 
Brent said:
I have a table I want to look for matching records in. One of the options
that data entry people have is to enter wildcards into records if they can't
read the ID# off of a receipt. I want to be able to match records that use
the wildcards as a criteria. i.e. once record says 12345 and another record
is 12?45.


I think this kind of thing will do that.

SELECT table.ID, T.ID As Match
FROM table INNER JOIN table AS T
ON T.ID Like table.ID
WHERE table.ID <> T.ID
 
Thanks


Marshall Barton said:
I think this kind of thing will do that.

SELECT table.ID, T.ID As Match
FROM table INNER JOIN table AS T
ON T.ID Like table.ID
WHERE table.ID <> T.ID
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Excel Wildcard in Excel array formula 0
Wildcard question 1
Wildcard Search 2
Quering between 2 large tables involving wildcards 2
Search Code 1
Access Dcount (multiple criteria) 3
wildcard 1
Combine user input and wildcard 1

Back
Top