C
Claire
I am working in a subform for a timesheet that includes # of Hours, and
currently have a summed total of the hours in the footer. There is also a
check box field for whether the hours are applied. I would like to add a
second conditional total which would sum the hours if they are applied.
I have tried DSum
DSum("[# Hrs]","tblHours",[Applied ?]=True)
and variations on that theme.
and Sum(Iff([Applied]<0, [# Hrs], 0))
and variations on that theme.
This form is based on a table, and each entry in the sub form contains
includes the timesheet ID that is in the main form.
Thanks for any suggestions!
currently have a summed total of the hours in the footer. There is also a
check box field for whether the hours are applied. I would like to add a
second conditional total which would sum the hours if they are applied.
I have tried DSum
DSum("[# Hrs]","tblHours",[Applied ?]=True)
and variations on that theme.
and Sum(Iff([Applied]<0, [# Hrs], 0))
and variations on that theme.
This form is based on a table, and each entry in the sub form contains
includes the timesheet ID that is in the main form.
Thanks for any suggestions!