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 » Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Totals and Subtotals



 
 
Thread Tools Display Modes
  #1  
Old December 29th, 2005, 09:56 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Totals and Subtotals

I'm trying to create a report that counts numbers of records.

E.g., I have records in 4 categories: A, B, C, D

I want a report to look like this:

A 4 records
B 6 records
C 3 records
D 5 records
----------------
18 records total


I've figured out how to get the A,B, C, D part done by using the COUNT
function in the query. But I cannot get the grand total. Every time I try a
=Sum([COUNTID]), I get an error message. How do I get the field that gives
me the grand total.

thanks.


  #2  
Old December 29th, 2005, 11:33 PM posted to microsoft.public.access.forms
external usenet poster
 
Posts: n/a
Default Totals and Subtotals

I suspect you want to "count" the CountID field, not "sum" it.

Regards

Jeff Boyce
Office/Access MVP

"aintnorock" wrote in message
...
I'm trying to create a report that counts numbers of records.

E.g., I have records in 4 categories: A, B, C, D

I want a report to look like this:

A 4 records
B 6 records
C 3 records
D 5 records
----------------
18 records total


I've figured out how to get the A,B, C, D part done by using the COUNT
function in the query. But I cannot get the grand total. Every time I
try a
=Sum([COUNTID]), I get an error message. How do I get the field that
gives
me the grand total.

thanks.




 




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
Secondary subtotals Diane General Discussion 6 October 24th, 2005 03:38 PM
Subtotals in Crosstab Report PeekProp Setting Up & Running Reports 0 August 3rd, 2005 11:36 PM
Totals & subtotals Steve Wood Setting Up & Running Reports 1 April 20th, 2005 05:42 PM
My Totals is not calculating my subtotals Lisa Setting Up & Running Reports 3 August 20th, 2004 04:33 AM
Group subtotals need to use report totals NickM Setting Up & Running Reports 2 June 3rd, 2004 10:46 PM


All times are GMT +1. The time now is 08:10 AM.


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