Re: Counting records :-(
From: Duane Hookom (duanehookom_at_NO_SPAMhotmail.com)
Date: 05/30/04
- Next message: Duane Hookom: "Re: Creating a wizard"
- Previous message: Ady: "Counting records :-("
- In reply to: Ady: "Counting records :-("
- Next in thread: Ady: "Re: Counting records :-("
- Reply: Ady: "Re: Counting records :-("
- Messages sorted by: [ date ] [ thread ]
Date: Sun, 30 May 2004 11:01:16 -0500
You need to add an OrderID group header section. Add a text box to the
header:
Name: txtCountOrders
Control Source: =1
Running Sum: Over All
Then add text box to your report footer:
Control Source: =txtCountOrders
-- Duane Hookom MS Access MVP "Ady" <adrian.symons@lineone.net> wrote in message news:%23sDPGtlREHA.1396@TK2MSFTNGP12.phx.gbl... > Hi There > > I have a report that is linked to a query. In this query I have a field name > orderID. This is the order number. If one order has 5 lines (in other words > the customer has ordered 5 items) the orderID is listed down the column 5 > times. For example: > > QUERY EXAMPLE: > orderID Part Number > W1256 Part A > W1256 Part B > W1256 PartC > W1256 Part D > W1256 PartE > > This is fine and works well....However, in my report I am tring to count the > total number of individual orders. I am placing my formula in the "Report > Footer" > > =Count([orderID]) > > The problem is it is counting all the lines! For instance the example above > should show 1, however with my formula it is showing 5. I only need it to > count the individual numbers! > > Any help offered will be most appreciated! > > Kind Regards > > Ady > > >
- Next message: Duane Hookom: "Re: Creating a wizard"
- Previous message: Ady: "Counting records :-("
- In reply to: Ady: "Counting records :-("
- Next in thread: Ady: "Re: Counting records :-("
- Reply: Ady: "Re: Counting records :-("
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|