On the main report, I put total actual time and target time. If
(totalactualtime-targettime)/targettime<0.1, then I am hoping the
subreport invisible. How can I set this up on the format at event
procedure? Please help.
Thanks,
Tracey
Me.srptControlName.Visible = Not (totalactualtime-targettime)/
targettime<0.1
This assumes the name of your subreport control is srptControlName and
TotalActualTime and TargetTime are bound to controls in this section
of the main report.
Duane Hookom
MS Access MVP
It works. Thank you very much, Duane.
Have a good day,
Tracey