I have a tabbed form that on one of the tabs I have 4 subforms. On the tabbed form I have a textbox to display for the user the % Complete that a Job is by comparing the Total Actual Cost vs the Total Estimated Cost.
I am taking a textbox totals field of one subform and using it to compute a % of completion from a textbox totals field from another subform.
When one of the subforms is blank (ie: no costs have been input on a job yet) then I get #Error.
I have tried IIF() statements and Error$ to get it to display as 0% when it is computing #Error. I can not get the syntax correct.
Below is my formula. What do I change to get it to display as 0% if it is in #Error?
=Nz([sfrmJobSummaryItemTotalsOnly].[Form]![txtTotalAllItems]/[sfrmJCJobEstimateEstimatedCosts].[Form]![Item Cost Estimate],0)