G
Guest
To explain briefly, I have two tables, one includes the amount of bonus paid
for each different product, the other contans the names of the employees.
I want to sum the bonus for all machines allocated to each employee
At present the user selects an employee from a combo box, there is a text
box on the form for the total bonus.
At present the value is calculated manually and typed in.
How can I automate this process?
I have tried all the 'DSum' examples I found in books and on this website.
I can get a total for all bonuses in the table, but when I try to get one
employee, based on the contents of the combo box, I get '#Error', or a blank
box.
I have tried using a query and using an event procedure.
I am using access 2002/3
for each different product, the other contans the names of the employees.
I want to sum the bonus for all machines allocated to each employee
At present the user selects an employee from a combo box, there is a text
box on the form for the total bonus.
At present the value is calculated manually and typed in.
How can I automate this process?
I have tried all the 'DSum' examples I found in books and on this website.
I can get a total for all bonuses in the table, but when I try to get one
employee, based on the contents of the combo box, I get '#Error', or a blank
box.
I have tried using a query and using an event procedure.
I am using access 2002/3