Hello please help me to calculate this one:
I have a table containing this fields (name, project done, hours consumed)
example:
this is a table of a timesheet
my problem is how to get the total no. of hours of only "A'" or only "B"
for example: I want to get the total hours of "A"
5+8+6=19 hours then multiply it to 10 so that I can get the total salary of "A" which is 10X19=190
then the 190 should appear to the textbox of "A"
example:
A's Salary is : [190] <--- this is a text box inside a form
...
Please help me please
I'm using Access 2003
THANKS and GODBLESS
I have a table containing this fields (name, project done, hours consumed)
example:
this is a table of a timesheet
Code:
--------------------------------------------------------------------------- | NAME | PROJECT DONE | HOURS CONSUMED | --------------------------------------------------------------------------- | A | 1 | [B]5[/B] | | B | 2 | 10 | | B | 3 | 12 | | A | 2 | [B]8[/B] | | D | 1 | 9 | | D | 3 | 3 | | A | 4 | [B]6[/B] |
my problem is how to get the total no. of hours of only "A'" or only "B"
for example: I want to get the total hours of "A"
5+8+6=19 hours then multiply it to 10 so that I can get the total salary of "A" which is 10X19=190
then the 190 should appear to the textbox of "A"
example:
A's Salary is : [190] <--- this is a text box inside a form
...
Please help me please
I'm using Access 2003
THANKS and GODBLESS
Comment