Important Notice: Our web hosting provider recently started charging us for additional visits, which was unexpected. In response, we're seeking donations. Depending on the situation, we may explore different monetization options for our Community and Expert Contributors. It's crucial to provide more returns for their expertise and offer more Expert Validated Answers or AI Validated Answers. Learn more about our hosting issue here.

What is a CROSSTAB query?

crosstab query
0
Posted

What is a CROSSTAB query?

0

“A crosstab query displays summarised values (sums, counts, and averages) from one field in a table and groups them by one set of facts listed down the left side of the datasheet and another set of facts listed across the top of the datasheet.” (Explanation from Access 97 Help). These queries can be extremely useful for providing summarised information. You may find that using the crosstab query as the source for a report proves problematic (various error messages, etc). A simple way round this is to create a second query, which is merely a simple select query that selects all the fields from the crosstab query. Then base your report on this second query. This seems to work… Example using Crosstab Query Wizard (example with only one table) As an example, suppose you wanted to see totals of bookings by Room/Hall/Court. Do the following: (a) Create a new query and choose crosstab query wizard (b) Choose the Booking table, then the [Date] field for the row headings. (c) Choose the [Room

What is your question?

*Sadly, we had to bring back ads too. Hopefully more targeted.

Experts123