robmkimmons
Technical User
I have a form [frmEmployee] which has basic employee information. Within that form, a subform [sfTrain] which tracks various training courses the employee has participated in.
Within this subform is a field [Hours] which keeps track of how many hours are completed for that particular training event (instance). This field must be updated when the employee completes more hours.
For example, when the training event is first entered let's say the employee completed 5 hours worth. So, 5 is put in the [Hours] field. The following week, the employee completes another 5 hours for the SAME training event. I want to be able to add that 5 to the previous to update the field to 10. (did i spell it out well enough?)
I have tried several attempts such as an unbound text field on my form and a control button which runs an update query to add the amount to the recordset, but i don't know if i'm getting the code right or not. Is this the right direction i should be heading?
Can someone point me in the right direction?
Thanks in advance! ~Rob
If we expect the unexpected, does that make the unexpected... well, expected?
Within this subform is a field [Hours] which keeps track of how many hours are completed for that particular training event (instance). This field must be updated when the employee completes more hours.
For example, when the training event is first entered let's say the employee completed 5 hours worth. So, 5 is put in the [Hours] field. The following week, the employee completes another 5 hours for the SAME training event. I want to be able to add that 5 to the previous to update the field to 10. (did i spell it out well enough?)
I have tried several attempts such as an unbound text field on my form and a control button which runs an update query to add the amount to the recordset, but i don't know if i'm getting the code right or not. Is this the right direction i should be heading?
Can someone point me in the right direction?
Thanks in advance! ~Rob
If we expect the unexpected, does that make the unexpected... well, expected?