J
JWCrosby
In my form, one of the controls in the detail section is a calculated control
with the following formula:
=[TaxableWage]-[MinistryExpense]-[CPPContribution]
I want to have the sum of that field in the form footer. My understanding
is that if any formulas are used in the original source (i.e., what I show
above), those formulas must be spelled out in the Sum calculation.
The field above DOES have calculations within it as follows:
TaxableWage: ([TempNet]-[BC_Tax])
TempNet: Net([GrossAvailable],[Operations]) (A function in a module)
BC_Tax:
IIf([BCFlag]=0,0,DLookUp("[BC_WCB_Rate]","tblTaxRates")*Net([GrossAvailable],[Operations]))
CPPContribution:
IIf([CPPFlag]=0,0,TaxSupport(DFirst("CPP_Rate","tblTaxRates"),[CPPBase]))
My question is this: is there an easier way to show the sum in the footer
besides compiling a very complex Sum calculation using all the formulas
above? It never fails that I end up leaving out a paranthesis (or 2 or 3!!)
and trying to troubleshoot a VERY LONG calculation is tedious at best.
Maybe someone knows a short-cut.
Thanks in advance.
Jerry
with the following formula:
=[TaxableWage]-[MinistryExpense]-[CPPContribution]
I want to have the sum of that field in the form footer. My understanding
is that if any formulas are used in the original source (i.e., what I show
above), those formulas must be spelled out in the Sum calculation.
The field above DOES have calculations within it as follows:
TaxableWage: ([TempNet]-[BC_Tax])
TempNet: Net([GrossAvailable],[Operations]) (A function in a module)
BC_Tax:
IIf([BCFlag]=0,0,DLookUp("[BC_WCB_Rate]","tblTaxRates")*Net([GrossAvailable],[Operations]))
CPPContribution:
IIf([CPPFlag]=0,0,TaxSupport(DFirst("CPP_Rate","tblTaxRates"),[CPPBase]))
My question is this: is there an easier way to show the sum in the footer
besides compiling a very complex Sum calculation using all the formulas
above? It never fails that I end up leaving out a paranthesis (or 2 or 3!!)
and trying to troubleshoot a VERY LONG calculation is tedious at best.
Maybe someone knows a short-cut.
Thanks in advance.
Jerry