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

Report grouping totals



 
 
Thread Tools Display Modes
  #1  
Old April 29th, 2004, 07:56 PM
Ed Robichaud
external usenet poster
 
Posts: n/a
Default Report grouping totals

How would I derive totals within a report group that is really a count of
group headers and not the number of records in the detail section?

An example: a report that show employee records, grouped by location,
then by supervisor. I ant the # of employees by location and supervisor,
BUT also want the # of supervisors AND # of locations.

This should be easy, but am stumped for an easier way than using some
complex DCount().

thanks -Ed


  #2  
Old April 29th, 2004, 09:32 PM
Xcelsoft
external usenet poster
 
Posts: n/a
Default Report grouping totals

ED,

You could set a TextBox (MyTextBox) in your group header,
make it invisible, set the Control Source to =1 and set
the Running Sum property to OverGroup.

In the report footer set another TextBox (MyTextBox2)
that references the running sum for the group header.
Set the Control Source of MyTextBox2 to =MyTextBox.

Regards,

Xcelsoft


-----Original Message-----
How would I derive totals within a report group that is

really a count of
group headers and not the number of records in the

detail section?

An example: a report that show employee records,

grouped by location,
then by supervisor. I ant the # of employees by

location and supervisor,
BUT also want the # of supervisors AND # of locations.

This should be easy, but am stumped for an easier way

than using some
complex DCount().

thanks -Ed


.

  #3  
Old April 30th, 2004, 02:11 AM
Ed Robichaud
external usenet poster
 
Posts: n/a
Default Report grouping totals

Thanks; I found just that tip after I posted. Don't know why I haven't used
something that useful before!
-Ed

"Xcelsoft" wrote in message
...
ED,

You could set a TextBox (MyTextBox) in your group header,
make it invisible, set the Control Source to =1 and set
the Running Sum property to OverGroup.

In the report footer set another TextBox (MyTextBox2)
that references the running sum for the group header.
Set the Control Source of MyTextBox2 to =MyTextBox.

Regards,

Xcelsoft


-----Original Message-----
How would I derive totals within a report group that is

really a count of
group headers and not the number of records in the

detail section?

An example: a report that show employee records,

grouped by location,
then by supervisor. I ant the # of employees by

location and supervisor,
BUT also want the # of supervisors AND # of locations.

This should be easy, but am stumped for an easier way

than using some
complex DCount().

thanks -Ed


.



 




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 05:16 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.