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

report connected to no datapipeline

edited September 2002 in End User
i am currently study about the report connected to no datapipline from the
tech-tips that mentioned :
When Report.AutoStop is set to True, the Report will print a single
detail band.
When Report.AutoStop is set to False, the Report will print detail bands
until instructed to stop. You can control when the report stops by setting
the
Report.PageLimit property or by calling Report.DataTraversalCompleted
method. Otherwise the report will never stop.

is there any example i could refer to study about above senario ? so that i
could truely understand on how to use the event on
datatraversalcompleted ...

TIA
:)

Comments

  • edited September 2002
    The report will print infinite detail bands until you call the
    DataTraversalCompleted or set the PageLimit property. Sounds like you
    really have data that you want to print. Try using a JITPipeline. See the
    JITPipeline demos in the No Databased Reports section of the main reports
    demo project of your installed ..\RBuilder\Demos\1.Reports directory.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited September 2002
    i mean how the report being generated without datapipeline ? is the
    JITpipeline not consider as datapipeline ? and i have see the demos in the
    No Databased Reports , there are no example on using the property
    Report.PageLimit or by calling Report.DataTraversalCompleted method .......
    Any other example that show the usage on these method ?

    TIA
    :)


  • edited October 2002
    What are you trying to print in your report?

    The JITPipeline is a pipeline. It gives you control over the records that
    you want to print when you aren't using a database to get the data.

    There are no examples of using PageLimt, as it is pretty self explanatory.
    The report stops printing pages when that page number is reached.

    While the report is generating, if you call Report.DataTraversalCompleted,
    the report will stop creating new pages.


    Cheers,

    Jim Bennett
    Digital Metaphors

  • edited October 2002
    i thinking of having report kind of 1 main report and 3 subreports
    (section) . main report having data from the text file/database (without
    going throught pipeline), while the 3 subreport is taking data from
    database(having 3 pipeline).
    i just think is there any possibilities that report generated will not
    stop generating data in main report as i didnt call
    Report.DataTraversalCompleted ....


    thanks.



  • edited October 2002
    Please use the TextPipeline to read data from the text files. That is going
    to be the easiest and best way to do it. There are text pipeline examples
    in the main report demo project which you should take a look at to see how
    to do this.

    I see you say "text file/database."

    1. If you aren't sure if you are going to get the data from the text file or
    from the database until runtime, then you can use one of either two
    pipelines where one is a TextPipeline and the other is DBPipeline (make sure
    the field names are the same for both pipelines and you can swap them out
    for a report). Also, when swapping pipelines, make sure that the controls in
    the report have ParentDataPipeline set to true so that they get reassigned.

    2. Use a JITPipeline to read data from either the dataset (query, table
    component, or client dataset) or the text file and pass it through the
    JITPipeline.


    Cheers,

    Jim Bennett
    Digital Metaphors

This discussion has been closed.