Re: CUSTOMISED GROUPING ON REPORT?
From: Marshall Barton (marshbarton_at_wowway.com)
Date: 10/01/04
- Next message: Marshall Barton: "Re: Two-column report; trouble with totals"
- Previous message: Marshall Barton: "Re: Conditionally Print Controls/Data"
- In reply to: confused: "CUSTOMISED GROUPING ON REPORT?"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 30 Sep 2004 22:25:29 -0500
confused wrote:
>I have a report, based on a query which I have grouped on a field called
>"source"
>So each record with source = "Distributer" is displayed, followed by totals.
>Then each record with source = "Vendor" is displayed followed by totals
>and so on for each value that the Source field contains.
>
>Now I am trying to customises the gouping, eg I want to display in the first
>sections the records where soruce = "Distributer" OR source = "vendor, and
>have totals for this.
>in the next sections i want to display records where the source =
>"Manufacturer" OR source = "Unknown" and have totals for this as well
I would create a small table to define which source values
are to be grouped together:
"Distributer" 1
"vendoe" 1
"Manufacturer" 2
"Unknown" 2
Then Join this table to the report's recordsource
table/query on the source field. You can then include the
grouping field in the query's field list and use that in the
report's sorting and grouping.
-- Marsh MVP [MS Access]
- Next message: Marshall Barton: "Re: Two-column report; trouble with totals"
- Previous message: Marshall Barton: "Re: Conditionally Print Controls/Data"
- In reply to: confused: "CUSTOMISED GROUPING ON REPORT?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|