J
jndickin
Access 2003
I am trying to do a Select Query. One of the Tables in the query has
multiple listings for one Route# but only one of those is correct. I'd like
my query to only pull the first record for each Route#. How can I modify my
query to get that result?
Following is a VERY simplified "picture" of what I am trying to accomplish.
I don't know if this will still be legible when I post so . . . fingers
crossed!
TABLE1
Route#
3301
3302
3303
TABLE2
RSR Name Route#
Correct 3301
Incorrect 3301
Correct 3302
Correct 3303
QUERY
Field: Route# Route# RSR Name
Table: TABLE1 TABLE2 TABLE2
Total: Group By Group By Group By
RESULT I DON'T WANT
Route# RSR Name
3301 Correct
3301 Incorrect
3302 Correct
3303 Correct
RESULT I DO WANT
Route# RSR Name
3301 Correct
3302 Correct
3303 Correct
Does this make any sense to anyone? Thanks!
I am trying to do a Select Query. One of the Tables in the query has
multiple listings for one Route# but only one of those is correct. I'd like
my query to only pull the first record for each Route#. How can I modify my
query to get that result?
Following is a VERY simplified "picture" of what I am trying to accomplish.
I don't know if this will still be legible when I post so . . . fingers
crossed!
TABLE1
Route#
3301
3302
3303
TABLE2
RSR Name Route#
Correct 3301
Incorrect 3301
Correct 3302
Correct 3303
QUERY
Field: Route# Route# RSR Name
Table: TABLE1 TABLE2 TABLE2
Total: Group By Group By Group By
RESULT I DON'T WANT
Route# RSR Name
3301 Correct
3301 Incorrect
3302 Correct
3303 Correct
RESULT I DO WANT
Route# RSR Name
3301 Correct
3302 Correct
3303 Correct
Does this make any sense to anyone? Thanks!