Report to aggregate all the people's names of the field [NAMES] recordset.

  • Thread starter Thread starter Joe M
  • Start date Start date
J

Joe M

Hi, if in a table I have a name field populated with people's names for the
recordset. How do I create a report to aggregate all the people's names from
this recordset into a single line, with a comma between each names. Thanks.
 
Hi Joe,

You have to do that by building a string using VB code in the report.
There's no way to do it in a query.

Do you need help with the VB code?
 
Hi Ed,
Yes I need help with VB code, what's a simple one to use for a
simple need as this??? To aggregate all names in the recordset, and separate
by a comma. The field [NAME]
Thanks.
 
Hi Joe,

You have to do that by building a string using VB code in the report.
There's no way to do it in a query.

This isn't true, Ed . Dev Ashish's function suggested by John Vinson
in the original thread can be included in a query (my thanks to John
for pointing me in that direction some time ago :-). It might slow it
down though, if there are many records.
Do you need help with the VB code?
HTH
Peter Franklin
 
Back
Top