BillRobitske
Programmer
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.
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.