Information générale
Catégorie:
Gestionnaire de rapports & Rapports
The "print when" are only for the output to the report. There's no link between "print when" conditions and calculated fields/variables.
Calculated fields and calculated variables are evaluated (calculated) at each record. You can see it like you would have all those calculations in the procedure that is taking care of the detail band.
The solution is to define variables with IIFs. After that you print those variables instead of fields. Of course, you must SUM variables, not fields.
Vlad
>I have a report and have the same field (balance) across the detail band but with "print when" expressions to determine which column it should print on. Everything in the detail band works fine but the totals in the page footer are printing the SUM of the balance field in all columns,instead of respecting the "print when" expressions in the detail band.
>
>How can I get the totals to reflect the SUM of each individual column including the "print when" statements?
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement