Главная страница | назад

Article #17968: Adding sums of fields

 Question and Answer Database

FAQ2968D.txt   Adding sums of fields
Category   :Quick Reports
Platform    :All
Product    :All 32 bit  

I want to sum several fields and then sum those sums - 
how do I do this?

Just create a entire new sum expression, adding all 
the fields together:

  QRExpr1.Expression := Sum(Field1);
  QRExpr2.Expression := Sum(Field2);
  QRExpr3.Expression := Sum(Field1+Field2);

7/16/98 4:31:28 PM

Last Modified: 01-SEP-99