A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Running & Setting Up Queries
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Convert grouped records into a string



 
 
Thread Tools Display Modes
  #1  
Old May 26th, 2004, 06:11 PM
mmattson
external usenet poster
 
Posts: n/a
Default Convert grouped records into a string

I am trying to convert all the names I have listed in a grouped query into one string record. For example, I am 1) grouping my records by date, 2) each date has a number of records for who was absent that day. I want to convert those names of absentees into a string:

4/1/04 Bob
4/1/04 Bill
4/1/04 Betty
4/3/04 Dave
4/3/04 Dan

....would become...

4/1/04 Bob, Bill, Betty
4/3/04 Dave, Dan

Any help would be....well...helpful.
  #2  
Old May 26th, 2004, 07:04 PM
Duane Hookom
external usenet poster
 
Posts: n/a
Default Convert grouped records into a string

There is a generic concatenate function with samples at
http://www.rogersaccesslibrary.com/O...p#Hookom,Duane

--
Duane Hookom
MS Access MVP


"mmattson" wrote in message
...
I am trying to convert all the names I have listed in a grouped query into

one string record. For example, I am 1) grouping my records by date, 2) each
date has a number of records for who was absent that day. I want to convert
those names of absentees into a string:

4/1/04 Bob
4/1/04 Bill
4/1/04 Betty
4/3/04 Dave
4/3/04 Dan

...would become...

4/1/04 Bob, Bill, Betty
4/3/04 Dave, Dan

Any help would be....well...helpful.



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 07:24 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.