I am sure this must have been asked before. I have a simple main order form with a subform showing items ordered. I use a pop up form to actually populate the table on which the subform is based. When I open the mainfom, of course, there are no records in the table. So the TotalAmount field on the main form showes #Error. As soon as I add an item the total field works properly. It seems that if there are no records in the subform the main form total would be null. But, I have tried the NZ function and other means to test for null to no avail.
This is really only a cosmetic issue since things work fine once we start adding detail records. But, it would be nice to have the #Error not show up.
Thanks,