![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
To bring my question down to the simplest case - I have a table with two records and two fields. The field names are FirstName and City. If record 1 is Joe and Los Angeles and record 2 is Joe and San Francisco, in my query, (no VBA), I would like to pull the first record for each unique FirstName. I don't really care if I pick the "Joe and Los Angeles" record or the "Joe and San Francisco" record but I only want one unique occurrence of Joe with a city. Of course there is a real business use for what I really need to do... Thanks, Sheldon |
#3
| |||
| |||
|
|
Sheldon wrote: To bring my question down to the simplest case - I have a table with two records and two fields. The field names are FirstName and City. If record 1 is Joe and Los Angeles and record 2 is Joe and San Francisco, in my query, (no VBA), I would like to pull the first record for each unique FirstName. I don't really care if I pick the "Joe and Los Angeles" record or the "Joe and San Francisco" record but I only want one unique occurrence of Joe with a city. Of course there is a real business use for what I really need to do... Thanks, Sheldon Use a groupsby/totals query. How do you total cities? |
#4
| |||
| |||
|
|
Sheldon wrote: To bring my question down to the simplest case - I have a table with two records and two fields. *The field names are FirstName and City. If record 1 is Joe and Los Angeles and record 2 is Joe and San Francisco, in my query, (no VBA), I would like to pull the first record for each unique FirstName. *I don't really care if I pick the "Joe and Los Angeles" record or the "Joe and San Francisco" record but I only want one unique occurrence of Joe with a city. *Of course there is a real business use for what I really need to do... Thanks, Sheldon Use a groupsby/totals query. |
#5
| |||
| |||
|
|
|| To bring my question down to the simplest case - I have a table with || two records and two fields. The field names are FirstName and City. || If record 1 is Joe and Los Angeles and record 2 is Joe and San || Francisco, in my query, (no VBA), I would like to pull the first || record for each unique FirstName. | Use a groupsby/totals query. I'm probably missing the obvious but GroupBy/Totals still shows me two records. Can you be a little more specific on the query? Thanks. |
#6
| |||
| |||
|
|
On Jul 30, 2:39 pm, Salad <o... (AT) vinegar (DOT) com> wrote: Sheldon wrote: To bring my question down to the simplest case - I have a table with two records and two fields. The field names are FirstName and City. If record 1 is Joe and Los Angeles and record 2 is Joe and San Francisco, in my query, (no VBA), I would like to pull the first record for each unique FirstName. I don't really care if I pick the "Joe and Los Angeles" record or the "Joe and San Francisco" record but I only want one unique occurrence of Joe with a city. Of course there is a real business use for what I really need to do... Thanks, Sheldon Use a groupsby/totals query. I'm probably missing the obvious but GroupBy/Totals still shows me two records. Can you be a little more specific on the query? Thanks. |
#7
| |||
| |||
|
|
Use a groupsby/totals query. I'm probably missing the obvious but GroupBy/Totals still shows me two records. *Can you be a little more specific on the query? *Thanks. Uncheck city.- Show quoted text - - Show quoted text - |
![]() |
| Thread Tools | |
| Display Modes | |
| |