Access- Inner Join - Intersection

I am creating a query in access that is an inner join - on two fields - first name and last name.

On visual check, the names are the same - spelling, etc. However, when I create the query, these names do not appear in the result.

Please advise why field entries will look the same - exactly - but they are not captured in an inner join.
exp vgAsked:
Who is Participating?
 
Dale FyeCommented:
Would help to have sample data.

Could be spaces in the names or something along those lines.  You might try modifying your join (won't be visible in the query design view) so that the join looks similar to:

INNER JOIN B
ON Replace(A.[First Name], " ", "") = Replace(B.[First Name], " ", "")
AND Replace(A.[Last Name], " ", "") = Replace(B.[Last Name], " ", "")

Or, better yet, use a left join to make it easier to identify which names are not matching.
0
 
Eric ShermanAccountant/DeveloperCommented:
Can you load up a sample of your db???

ET
0
 
exp vgAuthor Commented:
Unfortunately, the data I am working with I cannot upload and share, and it makes no sense to modify/recreate since it is the source data as it negates the question then.
0
 
Jeffrey CoachmanMIS LiasonCommented:
It could also be the confusion over characters like the Upper case "l" and an lower case "I" (with certain fonts):
"I" and "l"

Open in new window

0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.