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  
 
programming4us programming4us