How do I combine information from multiple rows without getting duplicate values in my report? (1 Viewer)

Inusah

New member
Local time
Today, 15:43
Joined
Jul 19, 2022
Messages
2
I have a table (named: tblSales) with following fields:

SalesAgent
SalesMonth
ProductCategory
SalesAmount

I have information like this:

SalesMonth SalesAgent ProductCategory SalesAmount
Jan A1 W1 5,000
Jun A1 W2 3,500
Oct A2 W1 4,000
Oct A3 W1 2,500
Nov A3 W3 1,500
Dec A1 W1 800
Dec A1 W3 2,000

I want to create an access report that looks like this:
SalesMonth SalesAgent ProductCategory SalesAmount
Jan A1 W1 5,000
Jun A1 W2 3,500
Oct A2 W1 4,000
A3 W1 2,500
Nov A3 W3 1,500
Dec A1 W1 800
W3 2,000

Please assist me urgently.
 

Gasman

Enthusiastic Amateur
Local time
Today, 16:43
Joined
Sep 21, 2011
Messages
14,423
Look at the Hide Duplicates property of the control
 

plog

Banishment Pending
Local time
Today, 10:43
Joined
May 11, 2011
Messages
11,665
I would settle for a report that looks like this:
Code:
Jan
  A1  W1 5,000
Jun
  A1 W2 3,500
Oct 
  A2 W1 4,000
  A3 W1 2,500
Nov 
  A3 W3 1,500
Dec 
  A1 W1 800
  W3 2,000

That can achieved by adding a SalesMonth Grouping and moving the SalesMonth to it. Then put the rest of the fields in the Detail.
 

theDBguy

I’m here to help
Staff member
Local time
Today, 08:43
Joined
Oct 29, 2018
Messages
21,528
Hi. Welcome to AWF!

You might need two or three groupings: SalesMonth and SalesAgent (and ProductCategory)
 

Users who are viewing this thread

Top Bottom