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

How to ....

edited February 2002 in General
I'm looking for an example for create a report at runtime using the "Page
Style" band.

I need to draw some text/shapes/images in the report and I NEED TO CONTROL
WHEN TO CREATE A NEW PAGE

So the logic is:

1 start report.

2 create a page.
3 draw some text, images, shapes, etc ...

4 repeat point 2 and 3

5 end of report

6 print or preview the report

thanks

--
Nicchi Roberto
MASTER INFORMATICA
Hardware & Software House
AREZZO, ITALY

Comments

  • edited February 2002
    You may want to create multiple section style (Subreport.PrintBehavior)
    subreports inside of a main report. Create a different pagestyle band in
    each one. Create one for every page that you want ot print. The section
    style subreports in a single band, will print in the order that they are
    created.

    What do you mean by control the creation of a new page? Are you trying to
    write a pseudo-report engine, which generates TppPage objects for an output
    device's page request?

    Cheers,

    Jim Bennett
    Digital Metaphors


  • edited February 2002
    "Jim Bennett \(Digital Metaphors\)" wrote
  • edited February 2002
    Create a main report. Use only the main report's detail band, which has
    three section style subreports in it. Use the pagestyle band in each
    subreport. Resize the pagestyle bands to be the height of the page. You can
    then dynamically add components to the band when each one prints.


    Cheers,

    Jim Bennett
    Digital Metaphors


This discussion has been closed.