J
joe_G
Hi, I'm hoping someone can help me out with a problem I'm running into
with a query in access.
I'll just provide a test example so its easier to understand.
I have a table with four fields: Firstname, Lastname, date of birth
and social security number
The table contains over 50,000 records. In this table, I am trying to
run a query that will find an instance where the Firstname and
Lastname are equal values. For example, here is a sample of five
records:
In the example listed below, I would only want the value Joe Joe to be
displayed.
Joe Smith
John Smith
Bob Smith
Joe Joe
Bill Smith
Now, my friend is a programmer and he showed me a way to run this
query, but it is kind of complicated and hard to understand:
basically, he created an expression and used the following query
below:
Is there an easier way to get this data because I really dont
understand what is written below:
exp1: LTrim(RTrim([firstname]))
LTrim(RTrim([lastname]))
with a query in access.
I'll just provide a test example so its easier to understand.
I have a table with four fields: Firstname, Lastname, date of birth
and social security number
The table contains over 50,000 records. In this table, I am trying to
run a query that will find an instance where the Firstname and
Lastname are equal values. For example, here is a sample of five
records:
In the example listed below, I would only want the value Joe Joe to be
displayed.
Joe Smith
John Smith
Bob Smith
Joe Joe
Bill Smith
Now, my friend is a programmer and he showed me a way to run this
query, but it is kind of complicated and hard to understand:
basically, he created an expression and used the following query
below:
Is there an easier way to get this data because I really dont
understand what is written below:
exp1: LTrim(RTrim([firstname]))
LTrim(RTrim([lastname]))