Home General
New Blog Posts: Merging Reports - Part 1 and Part 2

Problem detail events

edited March 2002 in General

I want to make calculations every time detail band is generated (not
printed), i did that in AfterGenerate and tried even AfterPrint method. None
of them work, because as soon as i scroll between the pages, calculations
are done again.

So, i tried to find a method when report is generated (not printed) and
there seems to be none, it looks like every time report is printed (on any
device) all methods of print and generate are executed again.



Annar confused.

Comments

  • edited March 2002
    Use the TppVariable component, and use its OnCalc event. The OnCalc event
    timing can be controlled using the variable's timing dialog (right-click
    over variable in the designer). The default is to calculate on Traversal.
    Hint: Do not use OnDataPipelineTraversal it may fire more often than
    OnTraversal.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.