I have a table in MS Access composed of items, and there's another table where salespeople tie into those items. So for example the item "pencil" could have 4 people that sold it associated. Once everything comes out of the query I have something like this:
item seller
pencil joe
pencil bob
pencil charles
pen john
eraser ruth
paper charles
I have a report form where I'd like to list each item's sellers on a single line. Kind of like:
pencil: bob, joe, charles
pen: john
eraser: ruth
paper: charles
I figure I can pound out a solution where I create an ADO Recordset object from a query statement filtered by item name, and then use a for each cycle to go through the records and feed the names into a concatenate string for each item. Sounds like the long way to do it though. Anyone have a better way of doing it?