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  

Count Function



 
 
Thread Tools Display Modes
  #1  
Old December 17th, 2009, 07:54 PM posted to microsoft.public.access.reports
ELo
external usenet poster
 
Posts: 4
Default Count Function

I am creating a report for pupils, grouped by school then collection time.

I have managed to count the number of pupils being collected using the
formula =count([Child Last Name])

However i cannot seem to get an overall total for each collection time in
the footer, using the same formula results in 'Error' occurring in the layout?
  #2  
Old December 17th, 2009, 08:16 PM posted to microsoft.public.access.reports
John Spencer
external usenet poster
 
Posts: 7,815
Default Count Function

You can do this in the REPORT footer.
You canNOT do this in the PAGE footer.

Does that help?

John Spencer
Access MVP 2002-2005, 2007-2009
The Hilltop Institute
University of Maryland Baltimore County

ELo wrote:
I am creating a report for pupils, grouped by school then collection time.

I have managed to count the number of pupils being collected using the
formula =count([Child Last Name])

However i cannot seem to get an overall total for each collection time in
the footer, using the same formula results in 'Error' occurring in the layout?

  #3  
Old December 17th, 2009, 08:36 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Count Function

You stated only "the footer" without specifying if this was a group, page, or
report footer. If it is a PAGE footer, the expression won't work. You should
be able to use the same expression in the Report Footer as long as the name
of the control is not the name of a field.

--
Duane Hookom
Microsoft Access MVP


"ELo" wrote:

I am creating a report for pupils, grouped by school then collection time.

I have managed to count the number of pupils being collected using the
formula =count([Child Last Name])

However i cannot seem to get an overall total for each collection time in
the footer, using the same formula results in 'Error' occurring in the layout?

  #4  
Old December 17th, 2009, 08:50 PM posted to microsoft.public.access.reports
ELo
external usenet poster
 
Posts: 4
Default Count Function

I placed this within the Report Footer and it is not appearing within the
report in layout view?

I used the count of individual groups in the collection time footer

and the same formula in the Report Footer in the section below the Page
Footer, i dont undestand what exactly you mean by not having the Control the
same as the name of field, sorry?

"Duane Hookom" wrote:

You stated only "the footer" without specifying if this was a group, page, or
report footer. If it is a PAGE footer, the expression won't work. You should
be able to use the same expression in the Report Footer as long as the name
of the control is not the name of a field.

--
Duane Hookom
Microsoft Access MVP


"ELo" wrote:

I am creating a report for pupils, grouped by school then collection time.

I have managed to count the number of pupils being collected using the
formula =count([Child Last Name])

However i cannot seem to get an overall total for each collection time in
the footer, using the same formula results in 'Error' occurring in the layout?

  #5  
Old December 17th, 2009, 09:00 PM posted to microsoft.public.access.reports
ELo
external usenet poster
 
Posts: 4
Default Count Function

I have placed this within the report footer but it is not visible when i
preview this?

"John Spencer" wrote:

You can do this in the REPORT footer.
You canNOT do this in the PAGE footer.

Does that help?

John Spencer
Access MVP 2002-2005, 2007-2009
The Hilltop Institute
University of Maryland Baltimore County

ELo wrote:
I am creating a report for pupils, grouped by school then collection time.

I have managed to count the number of pupils being collected using the
formula =count([Child Last Name])

However i cannot seem to get an overall total for each collection time in
the footer, using the same formula results in 'Error' occurring in the layout?

.

  #6  
Old December 18th, 2009, 03:09 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Count Function

Apparently you moved it from the Page to the Report footer and now you can't
see it. Does the count display in the report footer in the preview and print
of the report?

--
Duane Hookom
Microsoft Access MVP


"ELo" wrote:

I placed this within the Report Footer and it is not appearing within the
report in layout view?

I used the count of individual groups in the collection time footer

and the same formula in the Report Footer in the section below the Page
Footer, i dont undestand what exactly you mean by not having the Control the
same as the name of field, sorry?

"Duane Hookom" wrote:

You stated only "the footer" without specifying if this was a group, page, or
report footer. If it is a PAGE footer, the expression won't work. You should
be able to use the same expression in the Report Footer as long as the name
of the control is not the name of a field.

--
Duane Hookom
Microsoft Access MVP


"ELo" wrote:

I am creating a report for pupils, grouped by school then collection time.

I have managed to count the number of pupils being collected using the
formula =count([Child Last Name])

However i cannot seem to get an overall total for each collection time in
the footer, using the same formula results in 'Error' occurring in the layout?

 




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


All times are GMT +1. The time now is 04:36 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.