I had a report today with two sub reports. The main rpt was invoice and the
subs were parts and labor. I had to bring the sub-totals into the form,
etc., to create an invoice with a total price.
What a bunch of crap I had to go through to get this thing to work. The
difficulty was that some reports had parts and no labor, or vica-versa. Any
kind of anything of trying to deal with the null recordset gave me the
#stupid# error in the subtotal fields on the main report.
I ended up doing this elaborate thing where I created two text boxes, each
of which contained the dcount of the recordset of the subforms. Then in the
actual parts and labor subtotal fields I used iif statements referring back
to those hidden text boxes.
This one really got me today! There must be a simple solution to this
problem. Any suggestions?
Mike