Link to home
Start Free TrialLog in
Avatar of Stephanie Hudson
Stephanie HudsonFlag for United States of America

asked on

Creating a comma separated list as a Function to be used in a Totals/Group By query

I would like a function that I can use in a Totals/Group By query in Access where this:

Truck   SONum
WC     234567
WC     233555
EC      236666
EC      235777


becomes this when grouping by Truck:
Truck      SONumCSV
WC         234567, 233555
EC          236666, 235777


I found this, but I'd rather have a function that I can just use in the aggregate within a Totals/Group By query.
https://www.experts-exchange.com/questions/23534323/Getting-data-from-an-Access-table-to-appear-as-a-comma-seperated-list.html

Can someone help?

BTW, Happy New Year!

Avatar of lof
lof
Flag of United Kingdom of Great Britain and Northern Ireland image

are you querying Access DB or are you using only Access interface to query a MS SQL database?
Avatar of Stephanie Hudson

ASKER

It's an Access database.
ASKER CERTIFIED SOLUTION
Avatar of Sharath S
Sharath S
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
This is good.  I think I can make this work.  Thanks!