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

[Newbie] Creating super simple prints

edited April 2002 in General
I would like to know if there is a way to use RB in
a super simple way. I had no problems to design a
report. Now i would like to print it like this way:

ppReport.NewPage;
ppVariable1.Value := 'Title';
ppDatailBand.Generate;
ppVariable2.Value := 'Data 1';
ppDatailBand.Generate;
ppVariable2.Value := 'Data 2';
ppReport.NewPage;
...
ppReport.Print;

If somebody clicks "Print" in my application, i know
from that point what i want to print on each page.
I have a fixed layout. No customer interaction.

I will work my way through the documentation now and
try to understand all the concepts of RB. I just have
the feeling that it works too complicated for what i
want.

The most simple way seems to me to use a JITPipeline;
is that right?

Regards, Jens

Comments

  • edited April 2002
    ReportBuilder has a banded style report. That is, you design the report in
    the report designer by designing the layout of each band (the header, the
    detail, the footer, etc.) The report is then generated by traversing the
    data coming in on the pipeline and detail bands are generated as the data
    they are associated with is traversed. You don't ever have to explicitly
    create new pages, generate bands, or set the data values on your own. Take a
    look at the sample reports in RBuilder/Demos for examples. There is also a
    developer's guide located in RBuilder\Developer's Guide.

    --
    Cheers,

    Alexander Kramnik
    Digital Metaphors

  • edited April 2002
    "Alexander Kramnik (Digital Metaphors)" wrote


    I was afraid to hear that, because that would be the logical correct way
    for me. Anyway i will try to adopt the RB approach.

    Jens
This discussion has been closed.