I have a main form and a subform, each has their own Qry.
The subform contains Bill Of Material info like Usage% and Usage$.
On the Main form, I would like to have 2 calculated form field for the sum of the Usage% and Usage$.
What is the formula to put into these 2 main form fields?
Up to now, I have found the following to work okay. But it is a Dsum using their respective QRY. Would another method work better? I seem to have to hit a Requery Button (that i made) to force the figures to recalculate whenever i add new info. Here is the equation in the main form for the usage% calculated field. it looks to a Qry for its answer.
=DSum("[Usage%]","qryBomDetail","[FormulaID]=" & [cboFormulaID])
Is there a better way which will reduce my having to hit my Requery button all the time?? Thanks
The subform contains Bill Of Material info like Usage% and Usage$.
On the Main form, I would like to have 2 calculated form field for the sum of the Usage% and Usage$.
What is the formula to put into these 2 main form fields?
Up to now, I have found the following to work okay. But it is a Dsum using their respective QRY. Would another method work better? I seem to have to hit a Requery Button (that i made) to force the figures to recalculate whenever i add new info. Here is the equation in the main form for the usage% calculated field. it looks to a Qry for its answer.
=DSum("[Usage%]","qryBomDetail","[FormulaID]=" & [cboFormulaID])
Is there a better way which will reduce my having to hit my Requery button all the time?? Thanks