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 records in a report



 
 
Thread Tools Display Modes
  #1  
Old July 16th, 2007, 08:58 PM posted to microsoft.public.access.reports
Wendy F
external usenet poster
 
Posts: 4
Default Count records in a report

I hope someone out there can help. I have a report which was built through
an existing query. It does the following. I have a meetings database set up
and I set up a query to show only those records relating to a specific
meeting using a perameter query and this works fine. What I would like to do
is put in the footer of the report page a count (so it will count the number
of records/people attending the meeting) I have tried using the =Count(*) in
a text box in the footer but it just comes back with an #error can anyone
help with this I would appreciate it. thanks!

--
WendyF
  #2  
Old July 16th, 2007, 10:22 PM posted to microsoft.public.access.reports
Marshall Barton
external usenet poster
 
Posts: 5,361
Default Count records in a report

Wendy F wrote:

I hope someone out there can help. I have a report which was built through
an existing query. It does the following. I have a meetings database set up
and I set up a query to show only those records relating to a specific
meeting using a perameter query and this works fine. What I would like to do
is put in the footer of the report page a count (so it will count the number
of records/people attending the meeting) I have tried using the =Count(*) in
a text box in the footer but it just comes back with an #error can anyone
help with this I would appreciate it. thanks!



The aggregate functions do not work in the page
header/footer sections because a page is not a data related
grouping.

Put the Count(*) text box in the report header section and
then refer to that in the page footer.

--
Marsh
MVP [MS Access]
  #3  
Old July 16th, 2007, 10:32 PM posted to microsoft.public.access.reports
Duane Hookom
external usenet poster
 
Posts: 7,177
Default Count records in a report

Place your text box in the report header or footer section rather than the
page footer.
--
Duane Hookom
Microsoft Access MVP


"Wendy F" wrote:

I hope someone out there can help. I have a report which was built through
an existing query. It does the following. I have a meetings database set up
and I set up a query to show only those records relating to a specific
meeting using a perameter query and this works fine. What I would like to do
is put in the footer of the report page a count (so it will count the number
of records/people attending the meeting) I have tried using the =Count(*) in
a text box in the footer but it just comes back with an #error can anyone
help with this I would appreciate it. thanks!

--
WendyF

  #4  
Old July 17th, 2007, 08:12 PM posted to microsoft.public.access.reports
Wendy F
external usenet poster
 
Posts: 4
Default Count records in a report

Thanks Marshall & Duane

it works fine now. I can't believe I did not think to put it in the report
footer rather than the page footer. So many thanks to both of you.
--
WendyF


"Marshall Barton" wrote:

Wendy F wrote:

I hope someone out there can help. I have a report which was built through
an existing query. It does the following. I have a meetings database set up
and I set up a query to show only those records relating to a specific
meeting using a perameter query and this works fine. What I would like to do
is put in the footer of the report page a count (so it will count the number
of records/people attending the meeting) I have tried using the =Count(*) in
a text box in the footer but it just comes back with an #error can anyone
help with this I would appreciate it. thanks!



The aggregate functions do not work in the page
header/footer sections because a page is not a data related
grouping.

Put the Count(*) text box in the report header section and
then refer to that in the page footer.

--
Marsh
MVP [MS Access]

 




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 12:59 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.