K
Kevin Sprinkel
On a continuous form based on tblTakeoff that calculates
the weight and surface area of structural steel,I have the
following controls:
Control Name Control Source
============= ====================
txtFormula Formula
txtQty =Eval(Nz([txtFormula],0))
txtMultiplier Multiplier
txtTotalLF =[txtMultiplier]*[txtQty]
txtLBperLF LBperLF
txtSFperLF SFperLF
txtTotalLB =[txtTotalLF]*[txtLBperLF]
txtTotalSF =[txtTotalLF]*[txtSFperLF]
The basic form is working.
I would like to total the last two controls in the form
footer. I constructed the following formula for the first
summary control:
=Sum(Eval(Nz([txtFormula],0))*[txtMultiplier]*
[txtLBperLF])
This generates an error. Simplifying the expression to
try to isolate the error also generated errors on the
following expressions:
=Sum([txtMultiplier])
=Sum([txtLBperLF])
=Sum(Eval(Nz([txtFormula],0)))
Clearly I'm missing something basic to using the Sum
function. Can anyone help?
Kevin Sprinkel
the weight and surface area of structural steel,I have the
following controls:
Control Name Control Source
============= ====================
txtFormula Formula
txtQty =Eval(Nz([txtFormula],0))
txtMultiplier Multiplier
txtTotalLF =[txtMultiplier]*[txtQty]
txtLBperLF LBperLF
txtSFperLF SFperLF
txtTotalLB =[txtTotalLF]*[txtLBperLF]
txtTotalSF =[txtTotalLF]*[txtSFperLF]
The basic form is working.
I would like to total the last two controls in the form
footer. I constructed the following formula for the first
summary control:
=Sum(Eval(Nz([txtFormula],0))*[txtMultiplier]*
[txtLBperLF])
This generates an error. Simplifying the expression to
try to isolate the error also generated errors on the
following expressions:
=Sum([txtMultiplier])
=Sum([txtLBperLF])
=Sum(Eval(Nz([txtFormula],0)))
Clearly I'm missing something basic to using the Sum
function. Can anyone help?
Kevin Sprinkel