How to create report from Pivot Table View of Union Query?

  • Thread starter hongluen via AccessMonster.com
  • Start date
H

hongluen via AccessMonster.com

Hi all,

I have create a Union ALL Query. I want to generate a report from it.
The Pivot Table View of this Union Query shows exactly what I want (having
Row Heading, Column Heading and Detailed Data), so how can I make it as a
Report?

I have tried to create new report, but there is no options of making a pivot
table
(something like Crosstab Query and Pivot Table View of the Union Query).

Also tried to export to Excel, but it shows only count of records.
I want all detailed records.

Thank you.
 
G

Guest

Have you tried creating a crosstab query and then a report based on the
crosstab? There are a couple solutions available for created reports from
crosstabs.
 
H

hongluen via AccessMonster.com

Hi Duane,

I tried to create a crosstab query, but it allows to show only the First OR
the Last records.
That is NOT what I want. I want to show all records (detailed data).
Therefore, I did not generate report from the crosstab query.

In other words, if the crosstab query can show ALL records instead of count,
sum, and average, etc,
I can be able to make the crosstab query from the Union ALL (source datatable)
and then create report from this crosstab query. Is that correct?

If the crosstab query cannot show all records,
can I create report based on the Pivot Table View of the Union ALL query?
I want to have Row Heading, Column Heading and then detailed data in the
print layout.

Thank you very much for your advice.

Hong

Duane said:
Have you tried creating a crosstab query and then a report based on the
crosstab? There are a couple solutions available for created reports from
crosstabs.
[quoted text clipped - 11 lines]
Thank you.
 
G

Guest

There is a generic concatenate function that can be used as the Value in a
crosstab at
http://www.rogersaccesslibrary.com/OtherLibraries.asp#Hookom,Duane. On the
same page is a sample download for several crosstab reports.
--
Duane Hookom
Microsoft Access MVP


hongluen via AccessMonster.com said:
Hi Duane,

I tried to create a crosstab query, but it allows to show only the First OR
the Last records.
That is NOT what I want. I want to show all records (detailed data).
Therefore, I did not generate report from the crosstab query.

In other words, if the crosstab query can show ALL records instead of count,
sum, and average, etc,
I can be able to make the crosstab query from the Union ALL (source datatable)
and then create report from this crosstab query. Is that correct?

If the crosstab query cannot show all records,
can I create report based on the Pivot Table View of the Union ALL query?
I want to have Row Heading, Column Heading and then detailed data in the
print layout.

Thank you very much for your advice.

Hong

Duane said:
Have you tried creating a crosstab query and then a report based on the
crosstab? There are a couple solutions available for created reports from
crosstabs.
[quoted text clipped - 11 lines]
Thank you.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top