I am trying to use the QuickReport TQRExpr Component, to sum a Calculated field column in my dataset on my report.
I have a "Qty" field and a "Price" field, which is multiplied and stored in a calculated field "TotalPrice", using the table's OnCalcField event.
I now want to sum all those TotalPrice's into a GrandTotal using the TQRExpr.
Anybody know what I need. I tried using the expression
however, it seems it is only summing the first record .