472,353 Members | 1,529 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,353 software developers and data experts.

Counting group records

BJ
Can anyone tell me how to include a count of group records in a group
footer. I know (I think I know!) that I have to include an unbound text box
in the footer, but what expressions do I use to count the entries within a
group (subtotals I suppose).

eg: the column (group) headings are something like this:

Area Surname
London Smith
Giles
Davis
Harris

Total : = total number of surname entries

Manchester Jones
Jarvis
Coffey

Total : = total number of surname entries

What do I do to automatically count the "total number of entries" ?

Advice very welcome - Access isn't easy is it ?

K

Nov 13 '05 #1
4 1815
TextBox ControlSource: =Count(*)
--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

BJ wrote:
Can anyone tell me how to include a count of group records in a group
footer. I know (I think I know!) that I have to include an unbound text box
in the footer, but what expressions do I use to count the entries within a
group (subtotals I suppose).

eg: the column (group) headings are something like this:

Area Surname
London Smith
Giles
Davis
Harris

Total : = total number of surname entries

Manchester Jones
Jarvis
Coffey

Total : = total number of surname entries
What do I do to automatically count the "total number of entries" ?
Advice very welcome - Access isn't easy is it ?

Nov 13 '05 #2
BJ
Many Thanks for your reply and help.
In this instance, if I want to count the number of entries under "surname",
I presume that the "Control Source" is "Surname" . I had inerted : =Count
but the only this that appeared was the first entry (eg Smith) rather than a
number. What function does the (*) serve?

Thanks
K
"MGFoster" <me@privacy.com> wrote in message
news:oR*****************@newsread3.news.pas.earthl ink.net...
TextBox ControlSource: =Count(*)
--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

BJ wrote:
Can anyone tell me how to include a count of group records in a group
footer. I know (I think I know!) that I have to include an unbound text box in the footer, but what expressions do I use to count the entries within a group (subtotals I suppose).

eg: the column (group) headings are something like this:

Area Surname
London Smith
Giles
Davis
Harris

Total : = total number of surname entries

Manchester Jones
Jarvis
Coffey

Total : = total number of surname entries
What do I do to automatically count the "total number of entries" ?
Advice very welcome - Access isn't easy is it ?

Nov 13 '05 #3
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry, for the abrupt response. What I meant was: Place an unbound
TextBox in the Group Footer. Set its ControlSource to =Count(*). This
will count all rows in the Details section. IOW, you're grouping by the
Area w/ Surnames in the Detail section. After the break between groups
(the group footer) a Count(*) will count all rows (Surnames) produced
for that grouping.
--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQlehiYechKqOuFEgEQLGcQCg5JxShuzdJDSKsBPt8vOeiC 4A/WUAoNTq
tty9EC1oR0iO+xWvpQEGpU7D
=G/th
-----END PGP SIGNATURE-----

BJ wrote:
Many Thanks for your reply and help.
In this instance, if I want to count the number of entries under "surname",
I presume that the "Control Source" is "Surname" . I had inerted : =Count
but the only this that appeared was the first entry (eg Smith) rather than a
number. What function does the (*) serve?

Thanks
K
"MGFoster" <me@privacy.com> wrote in message
news:oR*****************@newsread3.news.pas.earthl ink.net...
TextBox ControlSource: =Count(*)
--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

BJ wrote:
Can anyone tell me how to include a count of group records in a group
footer. I know (I think I know!) that I have to include an unbound text
box
in the footer, but what expressions do I use to count the entries within
a
group (subtotals I suppose).

eg: the column (group) headings are something like this:

Area Surname
London Smith
Giles
Davis
Harris

Total : = total number of surname entries

Manchester Jones
Jarvis
Coffey

Total : = total number of surname entries
What do I do to automatically count the "total number of entries" ?
Advice very welcome - Access isn't easy is it ?


Nov 13 '05 #4
BJ
Many thanks again !

That did the trick

K
"MGFoster" <me@privacy.com> wrote in message
news:8k*****************@newsread1.news.pas.earthl ink.net...
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Sorry, for the abrupt response. What I meant was: Place an unbound
TextBox in the Group Footer. Set its ControlSource to =Count(*). This
will count all rows in the Details section. IOW, you're grouping by the
Area w/ Surnames in the Detail section. After the break between groups
(the group footer) a Count(*) will count all rows (Surnames) produced
for that grouping.
--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBQlehiYechKqOuFEgEQLGcQCg5JxShuzdJDSKsBPt8vOeiC 4A/WUAoNTq
tty9EC1oR0iO+xWvpQEGpU7D
=G/th
-----END PGP SIGNATURE-----

BJ wrote:
Many Thanks for your reply and help.
In this instance, if I want to count the number of entries under "surname", I presume that the "Control Source" is "Surname" . I had inerted : =Count but the only this that appeared was the first entry (eg Smith) rather than a number. What function does the (*) serve?

Thanks
K
"MGFoster" <me@privacy.com> wrote in message
news:oR*****************@newsread3.news.pas.earthl ink.net...
TextBox ControlSource: =Count(*)
--
MGFoster:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

BJ wrote:

Can anyone tell me how to include a count of group records in a group
footer. I know (I think I know!) that I have to include an unbound text


box
in the footer, but what expressions do I use to count the entries
within
a
group (subtotals I suppose).

eg: the column (group) headings are something like this:

Area Surname
London Smith
Giles
Davis
Harris

Total : = total number of surname entries

Manchester Jones
Jarvis
Coffey

Total : = total number of surname entries
What do I do to automatically count the "total number of entries" ?
Advice very welcome - Access isn't easy is it ?


Nov 13 '05 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: bryanilton | last post by:
Hi, I'm new to PHP and I have a question that I think has a simple answer but I just can't figure it out so I'm really hoping that one of you...
16
by: walexand | last post by:
I use the database mysql v.4. My problem is... I have a select like: select * from user where language = "de"; the result are then: id ...
7
by: C White | last post by:
A little while back I had a question about counting records and my example was something like this: in my database table i have the following...
2
by: N. Graves | last post by:
I have a table with records of games played with a field for players name and another fields is a "WinorLose". One player may play several games...
2
by: BlackFireNova | last post by:
I have an Access 2003 mdb which contains software records. I need to sort on a particular type of software, and then identify and count how many...
1
by: mjobrien | last post by:
Thanks for the hint Allen (see below). But I am already doing that count as total records read (5)in the report footer. That count is...
5
by: chrisc | last post by:
Hello, Hope this is the right place for this... I am creating a testing database for components as they come off a production line. My...
18
by: ChadDiesel | last post by:
I appreciate the help on this group. I know I've posted a lot here the last couple of weeks, but I was thrown into a database project at my work...
8
by: johnds | last post by:
This is my third question about eliminating accounting entries in a clinical database, yet retaining the valid record. Latest wrinkle is being able...
1
by: Kemmylinns12 | last post by:
Blockchain technology has emerged as a transformative force in the business world, offering unprecedented opportunities for innovation and...
0
by: Naresh1 | last post by:
What is WebLogic Admin Training? WebLogic Admin Training is a specialized program designed to equip individuals with the skills and knowledge...
0
jalbright99669
by: jalbright99669 | last post by:
Am having a bit of a time with URL Rewrite. I need to incorporate http to https redirect with a reverse proxy. I have the URL Rewrite rules made...
0
by: antdb | last post by:
Ⅰ. Advantage of AntDB: hyper-convergence + streaming processing engine In the overall architecture, a new "hyper-convergence" concept was...
2
by: Matthew3360 | last post by:
Hi, I have a python app that i want to be able to get variables from a php page on my webserver. My python app is on my computer. How would I make it...
0
by: AndyPSV | last post by:
HOW CAN I CREATE AN AI with an .executable file that would suck all files in the folder and on my computerHOW CAN I CREATE AN AI with an .executable...
0
hi
by: WisdomUfot | last post by:
It's an interesting question you've got about how Gmail hides the HTTP referrer when a link in an email is clicked. While I don't have the specific...
0
by: Carina712 | last post by:
Setting background colors for Excel documents can help to improve the visual appeal of the document and make it easier to read and understand....
0
BLUEPANDA
by: BLUEPANDA | last post by:
At BluePanda Dev, we're passionate about building high-quality software and sharing our knowledge with the community. That's why we've created a SaaS...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.