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

Only use a datapipeline from RAP --> do I need to call FirstRecord before use?

I have a datapipeline on my report which will always have 1 record en will only be accessed from RAP (it's not assigned to any DataPipeline property of any component).

Do I need to call FirstRecord before I try to access the record? Or will the engine do this for me after it's opened?

It seems to work without calling FirstRecord but I want to be sure I'm doing the right thing.

Comments

  • Hi Ronald,

    There is no need to manually access the first record of a pipeline. Once the pipeline is accessed via code or a db-aware component, the first record will be returned.

    In order to automatically traverse, however, the pipeline will need to be connected to a report or subreport.

    In RAP, you can access all pipelines by name or by dragging them from the data section of the code toolbox (right panel).

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
Sign In or Register to comment.