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

access grouping reports

Forum home » Delegate support and help forum » Microsoft Access Training and help » Access - grouping in reports

Access - grouping in reports

ResolvedVersion 2010

Holly has attended:
Access Introduction course
Access Intermediate course

Access - grouping in reports

Hello

I have set up a query to show, all the customers that have bought a certain category of product in the last 18 months. When i run the query it is correct but it lists each company over and over again for each invoice. i want it to group them, i have managed to group them in a report but then it doesnt group the products, it lists them over and over again.

Is there a line on the query that you can put grouping?

thanks

RE: access - grouping in reports

Hi Holly,

Thank you for your question and welcome to the forum.

The query is the raw data. When you create the report you can group by Company first and then by Product. Once you have done that, in Design View, move the Company field from the Details section into the Company Header section which will eliminate the repetition of the company name. Repeat the procedure above for the Product.

I hope this answers your questions.

Regards

Simon

Thu 15 Nov 2012: Automatically marked as resolved.

Access tip:

Random sampling

Data is th key to a good database, therefore checking is essential.

A good way of checking data is by random sampling. You can do this in a query, by typing the follow:
1) In the Field box create a RandonID field eg. Randon Id: Rnd(fieldname])

2) sort the field
3)Right click and chage the properties for To value to be the number of randon records you want to see.

4) Change the set to Show row for Randon ID to be False, add all the other fields you want to see and the run the query.

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.1 secs.