Printing two reports on one page.
I would like to print a report twice on the same page. This is to print an
original an a copy of the report on the same page and give one to the
customer. Both the original and the copy use the same layout. How can this
be done? The report contains a header, detail and a summary band.
Thanks in advance,
--
Wim Looman
Hills automatisering bv
wim.looman@hills.nl
original an a copy of the report on the same page and give one to the
customer. Both the original and the copy use the same layout. How can this
be done? The report contains a header, detail and a summary band.
Thanks in advance,
--
Wim Looman
Hills automatisering bv
wim.looman@hills.nl
This discussion has been closed.
Comments
adding a draw command to the page.
http://www.digital-metaphors.com/tips/MarkPagesWithCopy.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
I didn't mean to print a original and a copy, although it's for the same
reason, but my problem is that i want to print a small report (half page
size) twice on the same page. The second report always starts on page two. I
tried this by setting the number of copy's to 2, it fit's easily, but it's
printed on twe seperate pages. How to print these no one page?
Thanks in advance,
--
Wim Looman
Hills automatisering bv
wim.looman@hills.nl
use a subreport in the detail band which will print the customer copy. You
could also try to use two subreports. One would print the merchant copy and
another subreport below it would print the customer copy. You might want to
save the report as a report template (rtm) then load it into a couple of
fixed style subreports (Subreport.PrintBehavior) in the main report. The
fixed style subreport will force the report engine to give the subreport the
exact amount of height that you have specified at design time for the
subreport to print within.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
This solution works great, but not for us. We add an event to the component
at run time, depending of the name of the component. This is because our
customers can delete and add the compontents on the report. But when we use
one or two subreports the names of the components change, so the events
won't be added. Is there a way to print just two reports on one page by
setting the number of copy's?
Thanks again in advance.
--
Wim Looman
Hills automatisering bv
wim.looman@hills.nl
space at the bottom of the page. You could also use a start new page group
to get this behavior. I'll assume you've already got this handled. Now, as
each page is generated, you can copy the draw commands on the top half of
the page and create new copies of them which print on the bottom of the
page. Here is an example:
http://www.digital-metaphors.com/tips/HalfPageCopy.zip
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com
the property to use, if you only need to print a detail band twice on a
page. Sorry I didn't mention this earlier.
Cheers,
Jim Bennett
Digital Metaphors
http://www.digital-metaphors.com
info@digital-metaphors.com