Microsoft
Software
Hardware
Network
Question : Access Query - Compare part of fields in two tables
Hello - my situation is this - I have two access 2007 tables, I want to find all records that match from table 1 in table 2 - however, the field I am matching from table 1 may match any part of the field in table 2 -
Table 1 - Field - Case Number / 123456
Table 2 - Field - Docket Number
find match in all or any part of Docket Number Field; example: xx-123456 or 123456xx or xx123456xx or exact match 123456
I have many records to match the fields may contain text and numbers; they are formatted as text.
I would prefer to write the formula in the query but could attempt it in SQL if that would be better.
Answer : Access Query - Compare part of fields in two tables
Select table1.*, table2.* from table1 inner join table2
on table2.[docket number] like "*" & table1.[case number] & "*"
Random Solutions
Getting ACPI working properly
Cannot resolve the collation conflict between "Latin1_General_CI_AS" and "SQL_Latin1_General_CP1_CI<wbr />_AS" in the equal to operation.
CommonDialog control in Access 2007 -- problem
NET Framework 3.0 - should I install it on XP pro systems
Exchange 2003 w/IMF Spoofed Spam emails?
To log on to this remote computer, you must have Terminal Server User Access permissions.
SEO.. Are they advicing us correct?
Lock Down TCP 25 on MS Exchange 2003
Step-by-step: How to disable SMTP commands TURN and ETRN (Windows Server 2003)?
Outlook 2003 autocomplete pop-down not showing contacts