I have a form Tasks and a second form Parts which is also imbeded in the Task for as a subform. On the Task form I have a TaskID field, AdminHours field and a TotalTaskHours field. On the Parts form I have a TaskID (1 task, many parts) and a PartHours field. The TotalTaskHours field is a calculated field of the AdminHours and the sum of the PartHours from each part associated with the current task (each has the same TaskID as the current record in the Task form)
I am wondering how I calculate this value. I tried to create a query that filtered out the parts needed then a SetValue macro to
[Tasks]![AdminHours]+Sum([PartsQuery]![PartHours]) but this doesnt' seem to work. Anyone have any ideas?
I am wondering how I calculate this value. I tried to create a query that filtered out the parts needed then a SetValue macro to
[Tasks]![AdminHours]+Sum([PartsQuery]![PartHours]) but this doesnt' seem to work. Anyone have any ideas?