If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Counting in Reports
One field in my database contains 4 default identifiers that tell me which of
our 4 staff is assigned to handle that particular file. How do I auto-count the number of occurrences of each identifier in a report footer? or How do I auto-count the number of files assigned to each person through this feature? ie record #02040 is assigned to IB record #02050 is assigned to IB Total records assigned to IB - 2 |
#2
|
|||
|
|||
I'm sure there are more sophisticated ways to do this, but the way I have
done it in the past is to add a field to my query which I call CountMe and give it a constant value of 1. In the footer for your group section, create a text box and give it a value of =Sum([CountMe]). Linda "IB_FCCJ" wrote in message ... One field in my database contains 4 default identifiers that tell me which of our 4 staff is assigned to handle that particular file. How do I auto-count the number of occurrences of each identifier in a report footer? or How do I auto-count the number of files assigned to each person through this feature? ie record #02040 is assigned to IB record #02050 is assigned to IB Total records assigned to IB - 2 |
#3
|
|||
|
|||
The best method is to use a totals query as the record source of a subreport.
Then when you add another staff member you don't have to do any more work. However, you can add expressions in group and report headers/footers like =Sum( Abs([YourField]="IB") ) -- Duane Hookom Microsoft Access MVP "IB_FCCJ" wrote: One field in my database contains 4 default identifiers that tell me which of our 4 staff is assigned to handle that particular file. How do I auto-count the number of occurrences of each identifier in a report footer? or How do I auto-count the number of files assigned to each person through this feature? ie record #02040 is assigned to IB record #02050 is assigned to IB Total records assigned to IB - 2 |
#4
|
|||
|
|||
Thanks Linda and Duane, I tried Duane's suggestion (a little simpler to
perform) and it worked perfectly. "Duane Hookom" wrote: The best method is to use a totals query as the record source of a subreport. Then when you add another staff member you don't have to do any more work. However, you can add expressions in group and report headers/footers like =Sum( Abs([YourField]="IB") ) -- Duane Hookom Microsoft Access MVP "IB_FCCJ" wrote: One field in my database contains 4 default identifiers that tell me which of our 4 staff is assigned to handle that particular file. How do I auto-count the number of occurrences of each identifier in a report footer? or How do I auto-count the number of files assigned to each person through this feature? ie record #02040 is assigned to IB record #02050 is assigned to IB Total records assigned to IB - 2 |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Emailing PDF reports from Access | CraigMc | General Discussion | 6 | October 11th, 2007 12:52 AM |
Print a series of reports based on a single date and a series of numbers | Bill R via AccessMonster.com | Setting Up & Running Reports | 1 | September 9th, 2005 12:53 AM |
REPOST: Maintaining Page Numbers with multiple reports. | Robin Chapple | Setting Up & Running Reports | 1 | August 5th, 2005 06:53 AM |
want other value in query and report | GI Smith | New Users | 10 | January 5th, 2005 02:03 AM |
Need help w/ reports | Tom | Setting Up & Running Reports | 0 | June 25th, 2004 05:59 PM |