A Microsoft Office (Excel, Word) forum. OfficeFrustration

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.

Go Back   Home » OfficeFrustration forum » Microsoft Access » Setting Up & Running Reports
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Counting in Reports



 
 
Thread Tools Display Modes
  #1  
Old September 30th, 2005, 10:41 PM
IB_FCCJ
external usenet poster
 
Posts: n/a
Default 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  
Old October 1st, 2005, 12:15 AM
Linda Burnside
external usenet poster
 
Posts: n/a
Default

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  
Old October 2nd, 2005, 12:31 AM
Duane Hookom
external usenet poster
 
Posts: n/a
Default

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  
Old October 3rd, 2005, 02:55 PM
IB_FCCJ
external usenet poster
 
Posts: n/a
Default

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

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump

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


All times are GMT +1. The time now is 01:40 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.