PC Review


Reply
Thread Tools Rate Thread

Combining text from rows in the same table

 
 
andrew.munnis@sciatl.com
Guest
Posts: n/a
 
      30th Jan 2006
I need help combining text from two rows in the same table to be output
as a single text string in a report. I have a music db (Access 2000)
with each side of the record a separate row in a Tracks table:

[TrackNo] [Track Title] [Artist]
A my title 1 artist 1
B my title 2 artist 1

I have a report which only prints the A side, [Track No] = A. However
for my purposes some records are classed as double A sides,eg

[TrackNo] [Track Title] [Artist]
A my title 1 artist 1
A my title 2 artist 1
Unfortunately this prints on the report as two separate records in the
Details. I would like the print to be
My Title 1/My Title 2 Artist 1

I'm assuming concatenation would not work here. Any pointers in the
right direction would be much appreciated.

 
Reply With Quote
 
 
 
 
Allen Browne
Guest
Posts: n/a
 
      30th Jan 2006
See:
Return a concatenated list of sub-record values
at:
http://www.mvps.org/access/modules/mdl0004.htm

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
>I need help combining text from two rows in the same table to be output
> as a single text string in a report. I have a music db (Access 2000)
> with each side of the record a separate row in a Tracks table:
>
> [TrackNo] [Track Title] [Artist]
> A my title 1 artist 1
> B my title 2 artist 1
>
> I have a report which only prints the A side, [Track No] = A. However
> for my purposes some records are classed as double A sides,eg
>
> [TrackNo] [Track Title] [Artist]
> A my title 1 artist 1
> A my title 2 artist 1
> Unfortunately this prints on the report as two separate records in the
> Details. I would like the print to be
> My Title 1/My Title 2 Artist 1
>
> I'm assuming concatenation would not work here. Any pointers in the
> right direction would be much appreciated.
>



 
Reply With Quote
 
andrew.munnis@sciatl.com
Guest
Posts: n/a
 
      30th Jan 2006
Thanks. I will give it a go.

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Combining multiple table rows into 1 row Jeffrey Marks Microsoft Access Queries 1 5th Jun 2011 10:48 PM
Extending table rows changes text formatting =?Utf-8?B?Sm9objkyMTA=?= Microsoft Word Document Management 1 10th Oct 2007 03:09 PM
Combining fields from multiple rows in a single table =?Utf-8?B?R2xlbm4xMjAz?= Microsoft Access Queries 1 17th Apr 2006 11:44 AM
I have a table 10 rows 10 columms. How to type text?? =?Utf-8?B?R3JlZw==?= Microsoft Frontpage 8 8th Dec 2004 09:39 AM
Combining Multiple Table Columns Into A Single Text Box =?Utf-8?B?VGhlUHJv?= Microsoft Access Reports 1 17th Jun 2004 03:05 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 09:41 PM.