I have a form that shows information for the years 2004, 2005 and 2006. The information is how many of a part were replaced on an aircraft in that year. This qty is then divided into the # of flight hours giving the average time installed. I then average this avg. in the form footer. Everything works OK unless one of the years has no qty. I have used an IIF statement to test for this and plug in a fixed value for that year. When I come to a record that has a year with no qty I get #Error in the Total field. I have tried doing the calculation in the underlying query and on the form itself with no sucess.
Year Qty Flight Hours ATI
2004 2 1000 500
2005 3 1200 400
2006 5 1500 300
Avg. 400
TIA
Year Qty Flight Hours ATI
2004 2 1000 500
2005 3 1200 400
2006 5 1500 300
Avg. 400
TIA