I have a form (estimate) which has 4 subforms. And each of those subforms is a continuous form (say Mobilisation, Installation, Materials and Travel) and items which may be entered on each of the subforms potentially has different cost codes (using CostcodeID).
Example: Subform "Mobilisation" may have Cranes (costcodeID 1), Delivery (costcodeID 1), Labour (costcode ID 4) and Subcontractors (costcode 5). Meanwhile subform "Installation" may also have labour (costcodeID 4) and subcontractors (costcodeID 5).
For each estimate I would like a summary of all costs for each CostCodeID. I would also like a summary of the Sales price for each CostCodeID. Unfortunately, the calculations to get the sales price for each subform are different as some are rentals (and therefore need number of months) and some have exchange rate calculations, so I really need to look up the final sales figure exression (rather than do the calculation again in a query).
The forms all work well. But extracting that information is a bit beyond me.
Help?
Example: Subform "Mobilisation" may have Cranes (costcodeID 1), Delivery (costcodeID 1), Labour (costcode ID 4) and Subcontractors (costcode 5). Meanwhile subform "Installation" may also have labour (costcodeID 4) and subcontractors (costcodeID 5).
For each estimate I would like a summary of all costs for each CostCodeID. I would also like a summary of the Sales price for each CostCodeID. Unfortunately, the calculations to get the sales price for each subform are different as some are rentals (and therefore need number of months) and some have exchange rate calculations, so I really need to look up the final sales figure exression (rather than do the calculation again in a query).
The forms all work well. But extracting that information is a bit beyond me.
Help?