Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Union query joining two crosstabs: 'order by' question

Status
Not open for further replies.

stickers

Technical User
Nov 25, 2002
82
GB
Hi,

I have a union query which joins two crosstabs. One crosstab is effectively the sum of the other, and I want a query to display the results of both, with the summing one underneath so it looks like a spreadsheet with sums calculated in columns.

a) is there a way to do this all in one crosstab, without the need for the summing one and the union query?

b) if not, what do I put in the order by clause so that it puts the row headings for one query first followed by the single row heading from the summing crosstab?

Thanks,

Stickers
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top