[Newbie] Creating super simple prints
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
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
This discussion has been closed.
Comments
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
http://www.digital-metaphors.com
info@digital-metaphors.com
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