3 Letter Search in Access

RCJ2

New Member
Joined
Oct 15, 2004
Messages
16
:rolleyes: I'm trying to do a match with two different tables. I would like to do the match against names that start with the same 3 letters. Is there anyway I could do this?

ie: "WIL"liam Clinton could match with WILL SMITH or WILMA FLINTSTONE.

Any help would be GREATLY appreciated! Thanks
 

Excel Facts

How can you automate Excel?
Press Alt+F11 from Windows Excel to open the Visual Basic for Applications (VBA) editor.
There are several ways to do this.

One way would be to use a union query to join the two tables or some fields from the two tables. The field names would have to be identical.

Create a query for both.

Copy the SQL from both and paste it into a new query. One after the other.

Between the two SQL statements and on a seperate line if possible insert the word UNION.

You will then have one table to search through.


Select the Text in the Field if you like then choose Records|Filter|Filter By Selection.

Hope this helps

:p
 
Upvote 0

Forum statistics

Threads
1,221,842
Messages
6,162,333
Members
451,760
Latest member
samue Thon Ajaladin

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top