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  

Sum function is not working for me



 
 
Thread Tools Display Modes
  #1  
Old November 14th, 2005, 04:29 PM
Sheri
external usenet poster
 
Posts: n/a
Default Sum function is not working for me

I have this report that is base on a query and what I want to do is total the
number of times a accident happens in a department along with the employee.
For example if Bob had 2 accident in the Road Dept and Bill had 3 the total
for the road depart should be 5 and the total for bob should be 2 and bill
should be 3. I am getting 5 for them all. Here is my expression: =sum([Part
of Body Affected:])+([employeeID#])....

parts of body affected - is the injury


Sheri
  #2  
Old November 14th, 2005, 05:11 PM
Sheila D
external usenet poster
 
Posts: n/a
Default Sum function is not working for me

My guess is that you need Part of Body affected & Employee ID - using + will
add on the value of the employee ID field

Sheila

"Sheri" wrote:

I have this report that is base on a query and what I want to do is total the
number of times a accident happens in a department along with the employee.
For example if Bob had 2 accident in the Road Dept and Bill had 3 the total
for the road depart should be 5 and the total for bob should be 2 and bill
should be 3. I am getting 5 for them all. Here is my expression: =sum([Part
of Body Affected:])+([employeeID#])....

parts of body affected - is the injury


Sheri

  #3  
Old November 14th, 2005, 07:52 PM
LHEMA
external usenet poster
 
Posts: n/a
Default Sum function is not working for me

Not understanding what you are saying....instead of =sum([part of body
affected]+employeeID# use..........=sum([part of body affected]&[employeeID#]
--
LHEMA


"Sheila D" wrote:

My guess is that you need Part of Body affected & Employee ID - using + will
add on the value of the employee ID field

Sheila

"Sheri" wrote:

I have this report that is base on a query and what I want to do is total the
number of times a accident happens in a department along with the employee.
For example if Bob had 2 accident in the Road Dept and Bill had 3 the total
for the road depart should be 5 and the total for bob should be 2 and bill
should be 3. I am getting 5 for them all. Here is my expression: =sum([Part
of Body Affected:])+([employeeID#])....

parts of body affected - is the injury


Sheri

 




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

Similar Threads
Thread Thread Starter Forum Replies Last Post
Find function not working! Whizzer General Discussion 0 October 25th, 2005 01:46 AM
Custom Function In Query Not Working Murp Running & Setting Up Queries 3 June 10th, 2005 02:41 PM
Date & Time mully New Users 4 May 23rd, 2005 11:56 AM
Hi - RPC over HTTP problem: MarkInIreland Installation & Setup 3 March 13th, 2005 02:29 PM
Why has date() function quit working in msaccess 2000? Gary1956 Running & Setting Up Queries 1 November 3rd, 2004 02:52 PM


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