Users Pricing

forum

home / developersection / forums / how used the sum function in crystal reports

How used the sum function in crystal reports

Kenny Tangnde 16952 09 Sep 2011

hi all,

  i have a product table ,i already achieve subtotal function field ,but now i want achieve total a function.
my subtotal function is:{Product_Tb.Product Quantity} * {Product_Tb.Product Price}
then how  will  to total a function achieve,
i try below "total"function:
sum({Product_Tb.Product Quantity} * {Product_Tb.Product Price}
)
but crystal reports prompt  error:here need one the field

thanks in advance.


12 Answers