Pipeline.Traverse question
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.
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.
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com