C
chopper57 via AccessMonster.com
I have a text box on a report. The box shows previous hours worked,
everything works fine once an employees time is entered, the very fist report
will show 0.0 hours as previous.
When no hours are entered, (and this could happen for the first few days when
a project starts) the previous box shows #Error. Is there a way to suppress
the error.
This is what I have in the text box:
=subrpt_AccumutiveHours.Report.AccumutiveTotal-_
IIf(subrpt_CalcHours.Report.HasData,_
Nz(subrpt_CalcHours.Report!HoursTotalSum,0),0)
everything works fine once an employees time is entered, the very fist report
will show 0.0 hours as previous.
When no hours are entered, (and this could happen for the first few days when
a project starts) the previous box shows #Error. Is there a way to suppress
the error.
This is what I have in the text box:
=subrpt_AccumutiveHours.Report.AccumutiveTotal-_
IIf(subrpt_CalcHours.Report.HasData,_
Nz(subrpt_CalcHours.Report!HoursTotalSum,0),0)