dbTalk Databases Forums  

Concatenate Column Values from Multiple Rows into a Single Columnwith Access

comp.databases.ms-access comp.databases.ms-access


Discuss Concatenate Column Values from Multiple Rows into a Single Columnwith Access in the comp.databases.ms-access forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Vikas Chauhan
 
Posts: n/a

Default Concatenate Column Values from Multiple Rows into a Single Columnwith Access - 06-20-2011 , 12:18 AM






Subject : - Concatenate Column Values from Multiple Rows into a
Single Column with Access

I would like to combine a field's values from multiple records in a
single field. For example:

Last First Code
------- --------- ----
Lesand Danny 1
Lesand Danny 2
Lesand Danny 3
Benedi Eric 7
Benedi Eric 14

Result should look like:

Last First Codes
------- --------- -----
Lesand Danny 1,2,3
Benedi Eric 7,14

Reply With Quote
  #2  
Old   
Bob Barrows
 
Posts: n/a

Default Re: Concatenate Column Values from Multiple Rows into a Single Column with Access - 06-20-2011 , 06:41 AM






Vikas Chauhan wrote:
Quote:
Subject : - Concatenate Column Values from Multiple Rows into a
Single Column with Access

I would like to combine a field's values from multiple records in a
single field. For example:

Last First Code
------- --------- ----
Lesand Danny 1
Lesand Danny 2
Lesand Danny 3
Benedi Eric 7
Benedi Eric 14

Result should look like:

Last First Codes
------- --------- -----
Lesand Danny 1,2,3
Benedi Eric 7,14
You might want to give Duane Hookom's generic solution a try:
http://www.rogersaccesslibrary.com/f...s_topic16.html

Reply With Quote
  #3  
Old   
Vikas Chauhan
 
Posts: n/a

Default Re: Concatenate Column Values from Multiple Rows into a Single Columnwith Access - 06-20-2011 , 07:51 AM



Hi Bob,

it's not fulfill my requirements




On Jun 20, 4:41 pm, "Bob Barrows" <reb01... (AT) NOSPAMyahoo (DOT) com> wrote:
Quote:
Vikas Chauhan wrote:
Subject : - Concatenate Column Values from Multiple Rows into a
Single Column with Access

I would like to combine a field's values from multiple records in a
single field. For example:

Last First Code
------- --------- ----
Lesand Danny 1
Lesand Danny 2
Lesand Danny 3
Benedi Eric 7
Benedi Eric 14

Result should look like:

Last First Codes
------- --------- -----
Lesand Danny 1,2,3
Benedi Eric 7,14

You might want to give Duane Hookom's generic solution a try:http://www.rogersaccesslibrary.com/f...on-to-concaten...

Reply With Quote
  #4  
Old   
Bob Barrows
 
Posts: n/a

Default Re: Concatenate Column Values from Multiple Rows into a Single Column with Access - 06-20-2011 , 07:59 AM



That's too bad. It would be nice to know in what way it fails to meet them -
perhaps we could point out something you are missing.
In the meantime, if you copy and paste the subject line from this message
into google, perhaps you will find something that does fulfill your
requirements.

Vikas Chauhan wrote:
Quote:
Hi Bob,

it's not fulfill my requirements




On Jun 20, 4:41 pm, "Bob Barrows" <reb01... (AT) NOSPAMyahoo (DOT) com> wrote:
Vikas Chauhan wrote:
Subject : - Concatenate Column Values from Multiple Rows into a
Single Column with Access

I would like to combine a field's values from multiple records in a
single field. For example:

Last First Code
------- --------- ----
Lesand Danny 1
Lesand Danny 2
Lesand Danny 3
Benedi Eric 7
Benedi Eric 14

Result should look like:

Last First Codes
------- --------- -----
Lesand Danny 1,2,3
Benedi Eric 7,14

You might want to give Duane Hookom's generic solution a

try:http://www.rogersaccesslibrary.com/f...on-to-concaten...

Reply With Quote
Reply




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 On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.