Count distinct lines in a report
Hi John
Thanks for taking the time to answer.
I have a simple database table recording production - a list of work orders
(that may appear more than once) and against each order the machine ID, run
speed, design etc.
There is then a query against this table where I set up the criteria I want
to apply to the table.
The report is based on that query, and is a really simple report listing
work order, run speed, design etc.
I would like to count how many work orders there are, and if the work order
appears more than once, don't count it a second time.
The workorders aren't scattered about the report - they just appear in one
column, but may appear multiple times (for example if the job is printed in
batches on two seperate days on two different machines).
I used to have this information in Excel and had a formula to do this, but
have moved to Access as it's better suited for the job, but cannot figure
this problem out.
Thanks for reading
Dominic
"John Spencer" wrote:
Are the work order numbers all printing together in the report in one location
or are they scattered around the report?
John Spencer
Access MVP 2002-2005, 2007-2010
The Hilltop Institute
University of Maryland Baltimore County
Dominic wrote:
Hi all
I have a simple Access report that lists work order numbers, along with
various information against this order number. An individual order number
may appear more than once in this report.
I would like at thge bopttom of the report, the number of different work
order numbers in the report. I am trying to build an expression / formula to
do this, but am struggling a bit.
Thanks for any help anyone can throw my way.
DominicB
.
|