Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
Discussion GroupsFormsForms ProgrammingQueriesModules / DAO / VBAReports / PrintingMacrosDatabase DesignSecurityConversionImporting / LinkingSQL Server / ADPMultiuser / NetworkingReplicationSetup / ConfigurationDeveloper ToolkitsActiveX ControlsNew UsersGeneral 1General 2
Access DirectoryToolsTutorialsUser Groups
Related Topics
SQL ServerOther DB ProductsMS OfficeMore Topics ...

MS Access Forum / Modules / DAO / VBA / February 2005

Tip: Looking for answers? Try searching our database.

Wildcards

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Brent - 09 Feb 2005 01:52 GMT
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
Marshall Barton - 09 Feb 2005 16:46 GMT
>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

Signature

Marsh
MVP [MS Access]

Brent - 09 Feb 2005 18:55 GMT
Thanks

>>I have a table I want to look for matching records in.   One of the
>>options
[quoted text clipped - 12 lines]
> ON T.ID Like table.ID
> WHERE table.ID <> T.ID
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.