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  

Access queries Group By should allow Concatenate



 
 
Thread Tools Display Modes
  #1  
Old December 12th, 2004, 08:05 PM
drkpotter
external usenet poster
 
Posts: n/a
Default Access queries Group By should allow Concatenate

Similar to the Sum function in Group By queries (Totals) it should be
possible to concatenate text fields within the group. For example: if I have
three records with the same group ID I and each have text in the query field:
TextA the result should be TextA(1) & TextA(2) & TextA(3).
  #2  
Old December 12th, 2004, 08:54 PM
Marshall Barton
external usenet poster
 
Posts: n/a
Default

drkpotter wrote:

Similar to the Sum function in Group By queries (Totals) it should be
possible to concatenate text fields within the group. For example: if I have
three records with the same group ID I and each have text in the query field:
TextA the result should be TextA(1) & TextA(2) & TextA(3).



It should be, but it isn't :-(

You can use a UDF to concatenate the group's data.

Here's Duane's function:
http://www.rogersaccesslibrary.com/Otherdownload.asp?SampleName='Generic%20Function%2 0To%20Concatenate%20Child%20Records'

or you can Google for several others.

--
Marsh
MVP [MS Access]
 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Access Queries - Group in selection and in output Peter Running & Setting Up Queries 1 October 25th, 2004 02:48 PM
Adding staff photographs to my database KK New Users 2 September 3rd, 2004 07:41 AM
Word 2000/2002 - Proper Mail Merge steps for ODBC? Tony_VBACoder Mailmerge 7 September 2nd, 2004 09:21 PM
Access License In Terminal Server JIM.H. General Discussion 9 July 19th, 2004 12:32 AM
Need help with Access decision aualias General Discussion 23 June 21st, 2004 02:04 AM


All times are GMT +1. The time now is 10:52 AM.


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