W
wayne zabel
I have a report (reporta) which contains a subreport (reportb). Reporta is a
listing of all products run on a production line during a specified period.
Each record contains the qty manufactured, and a start time and an end time.
It calculates the total running time and compares the time to make the
actual production qty to an established standard and calculates an
efficiency percentage. All works fine so far. Now I want to address
downtime. I have a separate table with downtime events. Reportb addresses
the downtime events. I have linked the reports by ID numbers and everything
works for production runs with downtime. It subtracts the downtime in
reportb from runtime in reporta before calculating the efficiency
percentage. But if no downtime exists, the control that picksup the downtime
minutes from reportb reads "# error" and the percentage does not compute.
I have spent many hours trying to figure this out. Any help will be greatly
appreciated.
listing of all products run on a production line during a specified period.
Each record contains the qty manufactured, and a start time and an end time.
It calculates the total running time and compares the time to make the
actual production qty to an established standard and calculates an
efficiency percentage. All works fine so far. Now I want to address
downtime. I have a separate table with downtime events. Reportb addresses
the downtime events. I have linked the reports by ID numbers and everything
works for production runs with downtime. It subtracts the downtime in
reportb from runtime in reporta before calculating the efficiency
percentage. But if no downtime exists, the control that picksup the downtime
minutes from reportb reads "# error" and the percentage does not compute.
I have spent many hours trying to figure this out. Any help will be greatly
appreciated.