strangeryet
Programmer
I am working with 2 tables:
The first is a table full of names.
The other is also table full of names that I pull from a query which extracts just the last name.
Is it possible to list the records from table 1 that have a like match two those records in the query?
For example: the query would have several names returned
Jones
White
Green
...
If any of these names exist in Table 1 the record would display. I want to use the Like funtion something simiular
to: Where table1.Name Like '*[Query.Name]*'
I have had no success.
I figure I could write something in VB where I can loop
through and using a Instr function find the matches, but
I was hoping I could do it in a query.
Table 1
Brown Joe
Doe John
Jane Doe
Jane Smith
John Jones
Dave Joneson
Pam Greenidge
So in this case using the above query result the records displayed from this new query would be:
John Jones
Dave Joneson
Pam Greenidge
Because of the Jones and Green matches from the query.
Thanks
The first is a table full of names.
The other is also table full of names that I pull from a query which extracts just the last name.
Is it possible to list the records from table 1 that have a like match two those records in the query?
For example: the query would have several names returned
Jones
White
Green
...
If any of these names exist in Table 1 the record would display. I want to use the Like funtion something simiular
to: Where table1.Name Like '*[Query.Name]*'
I have had no success.
I figure I could write something in VB where I can loop
through and using a Instr function find the matches, but
I was hoping I could do it in a query.
Table 1
Brown Joe
Doe John
Jane Doe
Jane Smith
John Jones
Dave Joneson
Pam Greenidge
So in this case using the above query result the records displayed from this new query would be:
John Jones
Dave Joneson
Pam Greenidge
Because of the Jones and Green matches from the query.
Thanks