Pivot Table SQL Statement

taw

Registered User.
Local time
Today, 17:58
Joined
Nov 21, 2002
Messages
34
I have a pivot table on a form working just like I need it to, and I need to include it on a report so I want to make a crosstab query exactly like it so that I don't have all of the label and heading formatting. The problem is that I can't get the crosstab to do what I want. Is it possible to extract the sql statement that is used in the pivot table on the form?

I have attached screen shots of the pivot table and some test data.

Thanks,
Tom
 

Attachments

  • PivotTable.gif
    PivotTable.gif
    20.7 KB · Views: 204
  • TestData.gif
    TestData.gif
    11 KB · Views: 177
Hi,
I am sorry for offering something stupid ; use the form in the report ?
 
Yes ...

Exactly. I don't want to do that, so I need to duplicate the format of the pivot for the report. It is possible to use a form/subform on a report, but the formatting is not desirable.

Tom
 

Users who are viewing this thread

Back
Top Bottom