dbTalk Databases Forums  

Make additional rows instead of being top to bottom, reading left to right

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


Discuss Make additional rows instead of being top to bottom, reading left to right in the comp.databases.ms-access forum.



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

Default Make additional rows instead of being top to bottom, reading left to right - 09-15-2011 , 03:00 AM






I have an instance where It's like this on a report:

Title (grouped by)

Detail: Artists Song Number.

Everything works fine, except when there is the same artist and title
I want it to do this:
example

Title (grouped by)

Detail: Artist Song Number 1 Song number
2 Song number 3, etc

The way I have it now it is like this:

Title (grouped by)

Detail: Artist Song Number 1
Song Number 2
Song Number 3

How do I get it to show across if the title and artist are the same?

Reply With Quote
  #2  
Old   
Phil
 
Posts: n/a

Default Re: Make additional rows instead of being top to bottom, reading left to right - 09-17-2011 , 03:54 AM






On 15/09/2011 09:00:43, chrisdavis wrote:
Quote:
I have an instance where It's like this on a report:

Title (grouped by)

Detail: Artists Song Number.

Everything works fine, except when there is the same artist and title
I want it to do this:
example

Title (grouped by)

Detail: Artist Song Number 1 Song number
2 Song number 3, etc

The way I have it now it is like this:

Title (grouped by)

Detail: Artist Song Number 1
Song Number 2
Song Number 3

How do I get it to show across if the title and artist are the same?

I suspect you need to create a CrossTab query, then you will need to do some
research on how to produce a dynamic crosstab report. The problem is that
until the query has run, you don't know how many columns (Songs) your report
is going to need.

Phil

Reply With Quote
  #3  
Old   
Bob Quintal
 
Posts: n/a

Default Re: Make additional rows instead of being top to bottom, reading left to right - 09-17-2011 , 06:59 AM



"Phil" <phil (AT) stantonfamily (DOT) co.uk> wrote in
news:j51n7k$ha$1 (AT) speranza (DOT) aioe.org:

Quote:
On 15/09/2011 09:00:43, chrisdavis wrote:
I have an instance where It's like this on a report:

Title (grouped by)

Detail: Artists Song Number.

Everything works fine, except when there is the same artist and
title I want it to do this:
example

Title (grouped by)

Detail: Artist Song Number 1 Song number
2 Song number 3, etc

The way I have it now it is like this:

Title (grouped by)

Detail: Artist Song Number 1
Song Number 2
Song Number 3

How do I get it to show across if the title and artist are the
same?


I suspect you need to create a CrossTab query, then you will need
to do some research on how to produce a dynamic crosstab report.
The problem is that until the query has run, you don't know how
many columns (Songs) your report is going to need.

Phil

Dev Ashish wrot a function called fConcatChild, and published it at
http://access.mvps.org/access/modules/mdl0004.htm

It would be a workable solution to the original poster's problem.

--
Bob Q.
PA is y I've altered my address.

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.