andrewaldrich
Registered User.
- Local time
- Today, 04:54
- Joined
- Jan 15, 2012
- Messages
- 17
I have a subform that is continuous and linked to the master. The form contains a number of fields to calculate hours spent on a project. The fields I have are:
I had read where you cannot sum on a calculated field. I am assuming that since I set the TotalHours control property to the value of HoursWorked that this is the work around.
Please help.
Thanks
- StartTime - date/time field, short time
- EndTime - date/time field, short time
- HoursWorked - calculated field = [EndTime]-[StartTime] (I created the formula to return 0 if the [EndTime] is null and set the format property to fixed, 2 decimals)
- TotalHours - text field with the control property set to =Nz([HoursWorked])
I had read where you cannot sum on a calculated field. I am assuming that since I set the TotalHours control property to the value of HoursWorked that this is the work around.
Please help.
Thanks