Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

build a recipient string from multiple name records

Status
Not open for further replies.

BillRobitske

Programmer
Apr 6, 2005
1
US
Okay, I've seen a few threads and FAQs on how to combine a field from multiple records, but this is bit beyond that.

I need to create a newsletter recipient string containing the names of the people living at an address, but I don't want to repeat the last name if it is the same.

EX:
[tt]
AddressID LastName FirstName
1 Doe John
1 Doe Jane
2 Smith Alex
2 Peters Sue
[/tt]

The resulting query would have:
[tt]
AddressID Recipient
1 Doe, John & Jane
2 Smith, Alex & Peters, Sue
[/tt]

I can't figure out how to go about this, since all of solutions I've seen only list them without worring about what they actually are.
 
Click the FAQs link above and find at least two methods that mention "Concatenate" in there titles.

Duane MS Access MVP
[green]Ask a great question, get a great answer.[/green] [red]Ask a vague question, get a vague answer.[/red]
[green]Find out how to get great answers faq219-2884.[/green]
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top