CarlRostron
Registered User.
- Local time
- Today, 23:09
- Joined
- Nov 14, 2011
- Messages
- 88
I am trying to sum up the hours worked field in my subform, I have tried different DSum functions but I can't get it to work. Attached is an image of the form I am trying to sum and place into the text box.
This is what I have tried:
This is what I have tried:
Code:
=DSum([HoursRecorded],"tblTimesheet",[qryTimesheetByClient subform]![ClientID]=[tblTimesheet].[HoursRecorded])
Code:
=DSum([HoursRecorded],"qryTimesheetByClient",[qryTimesheetByClient subform]![ClientID]=[tblTimesheet].[HoursRecorded])