G
Guest
I thought I had this problem licked but I don't now. I have a subform with
the following
ProductName UnitPrice CostPrice Quantity UnitSubtotal CostSubtotal
where UnitSubtotal is =[UnitPrice]*[Quantity]
CostSubtotal is =[CostPrice]*[Quantity]
In the footer I want to sum up all the values in both subtotal lines. I have
tried
UnitTotal =Sum([UnitPrice]*[Quantity])
CostTotal =Sum([CostPrice]*[Quantity])
but I get #Error coming up for some reason. When I put in nz(Sum..) the
#Error goes away but I get both values to be 0. Any ideas?
Thanks in advance,
JohnnyF
the following
ProductName UnitPrice CostPrice Quantity UnitSubtotal CostSubtotal
where UnitSubtotal is =[UnitPrice]*[Quantity]
CostSubtotal is =[CostPrice]*[Quantity]
In the footer I want to sum up all the values in both subtotal lines. I have
tried
UnitTotal =Sum([UnitPrice]*[Quantity])
CostTotal =Sum([CostPrice]*[Quantity])
but I get #Error coming up for some reason. When I put in nz(Sum..) the
#Error goes away but I get both values to be 0. Any ideas?
Thanks in advance,
JohnnyF