I have a query with, say, field1, field2, field3 and field4. [field3] is [field1]*[field2].
I have a report based on that query.
In the page-footer I put the sum of field2, subject to [field4]=0.1, for example, updated by a macro everytime the report is opened (print or printpreview). It's fine...