W
Wvanexe
I have created a report with two subreports. I need to be
able to have a total of a field on the subreports.
Ex.
Main form
Part Number, Qty, Hours
Subform 1
Downtime, minutes
Subform 2
Downtime, minutes
Report when run
Item 1. Part Number, Qty, Hours
Subform 1 Subform 2
Break, 1 No records
Meal, 5
Subtotal 6 Subtotal 0
Item 2. Part Number, Qty, Hours
Subform 1 Subform 2
No records Equip, 5
Parts, 6
Subtotal 0 Subtotal 11
Item 3. Part Number, Qty, Hours
Subform 1 Subform 2
No records No records
Subtotal 0 Subtotal 0
Main Form Total 6 Total 11
I have placed a field on each subform to total the
minutes. I need to add up the subtotals to a total field
on the main form. I get an #error.
The problem is that on the main form there will always be
data, the subforms may have data or not. 1 record or more
records could be returned for each subform.
Any help would be appreciated.
able to have a total of a field on the subreports.
Ex.
Main form
Part Number, Qty, Hours
Subform 1
Downtime, minutes
Subform 2
Downtime, minutes
Report when run
Item 1. Part Number, Qty, Hours
Subform 1 Subform 2
Break, 1 No records
Meal, 5
Subtotal 6 Subtotal 0
Item 2. Part Number, Qty, Hours
Subform 1 Subform 2
No records Equip, 5
Parts, 6
Subtotal 0 Subtotal 11
Item 3. Part Number, Qty, Hours
Subform 1 Subform 2
No records No records
Subtotal 0 Subtotal 0
Main Form Total 6 Total 11
I have placed a field on each subform to total the
minutes. I need to add up the subtotals to a total field
on the main form. I get an #error.
The problem is that on the main form there will always be
data, the subforms may have data or not. 1 record or more
records could be returned for each subform.
Any help would be appreciated.