Public Schedule Face-to-Face & Online Instructor-Led Training - View dates & book

crosstab query

ResolvedVersion 2003

Monika has attended:
Access Introduction course
Access Intermediate course
Access Advanced course
Access VBA course

Crosstab Query

Can you please explain me how crosstab queries work, please? Thank you

RE: Crosstab Query

Hi Monika

Thank you for your question

A cross tab query effectively allows the user to create a pivot table type analysis on a record set.

Imagine that you have a table of sales data showing among other things the name of the salesperson, the customer and the total value of the sale.

A cross tab query would allow you to produce a table, with the customer names as column headings, the employee name as row headings and the total sales by each employee to each customer in the data area of the table.

To create a cross tab query, build your query in the normal way and then choose the cross tab query type. You then will be asked to specify in the group by row which field will be row headings, which will be column headings and which will be the data. You can then also specify how you want your data presented. (Sum, Average etc.)

Hope this is useful

Regards

Stephen

Thu 17 Sep 2009: Automatically marked as resolved.

Access tip:

Hide Access Tables

One method of stopping your Access tables appearing in Database window, is to rename the table(s) with the prefix usys.

This converts the table into a system object, which cannot be viewed in the Database window.

You can show system objects in the Database window by the following:

Step 1: On the Tools menu, click Options.
Step 2: Click the View tab.
Under Show, select the System Objects check box.
Click OK.

View all Access hints and tips

Connect with us:

0207 987 3777

Call for assistance

Request Callback

We will call you back

Server loaded in 0.09 secs.