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  

2 Sets of Totals



 
 
Thread Tools Display Modes
  #1  
Old May 20th, 2004, 07:59 PM
Kevin
external usenet poster
 
Posts: n/a
Default 2 Sets of Totals

Need to do a report of employees and their departments.
So report lists all the required employees and then all the departments.
Required:
Bloggs
Smith
Jones
Department A
Department B
As number of employeesvary so does the department as all employees may be in
same department.
Access seems to handle the employees fine but the departments will not
display correctly.
Any ideas?



  #2  
Old May 20th, 2004, 08:39 PM
Ragnar Midtskogen
external usenet poster
 
Posts: n/a
Default 2 Sets of Totals

You need to provide some information about where the report's data comes
from.
What you are asking is sort of like "If A plus B equals 4 why doesn't C plus
D equal 5?

Ragnar
..


  #3  
Old May 20th, 2004, 08:56 PM
Kevin
external usenet poster
 
Posts: n/a
Default 2 Sets of Totals

Data is a list of employees, each belonging to a department, with the number
of hours worked each day.
First part of report is rows of employees with hours worked each day (days
are the columns).
Then a list of departments (rows), underneath, with number of hours worked
per department.
Number of employees will vary and so will the number of departments.
Access seems to handle the employees fine but soon as insert departments, it
does not seem able to cope - report footers get chopped off etc.




"Ragnar Midtskogen" wrote in message
...
You need to provide some information about where the report's data comes
from.
What you are asking is sort of like "If A plus B equals 4 why doesn't C

plus
D equal 5?

Ragnar
.




  #4  
Old May 21st, 2004, 01:07 AM
Ragnar Midtskogen
external usenet poster
 
Posts: n/a
Default 2 Sets of Totals

It is still not clear how the report is designed, but it sounds to me like
you should use subreports.

Design one report to display employees, using the employees table as
recordsource.
Then design anoter report for the departments, using the departments table
as recordsource.
Finally you create a blank report and add the employee and the department
reports as subreports.

Ragnar


 




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 11:57 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.