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

Pipeline.Traverse question

edited May 2002 in General
Can someone explain to me how the Traverse event works? I have code in
there where I am trying to prevent a record from printing in my report. If
I find that the record should not be on the report, I call Pipeline.Skip.
This still prints the record on the report though. What is the proper way
to skip a record. (Without putting the criteria in the query, obviously, or
I wouldn't be asking : )

I can only check the records and throw them out as the report is running
thru the query.

Comments

  • edited May 2002
    The traverse event fires when the pipeline traverses to a bookmark and may
    possibly fire multiple times for some records as the report is being
    generated. You should call Pipeline.Skip in the pipeline's
    OnRecordPositionChanged which will skip over irrelevant records no matter
    how the report is traversed.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

This discussion has been closed.