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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|
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 |