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

Preview a report inside an existing window

edited April 2013 in General
We use Report Builder to print small labels. I would like to be able to
show the user a preview of the label on screen, as they are entering
information. I want the preview to show next to the textbox where they
enter information.

From what I have read, it seems I can customise the report preview, but
the preview has to display in a separate window.

Is there any way to preview the output of a report inside an existing
window? e.g. inside a TPanel?? Not in a separate window?

What I would like is to display *just* the actual printed output;
without any navigation buttons, toolbars etc.

It would be enough just to display the first page (for our uses, anyway).

Cheers,

Andreas Mross

Comments

  • edited April 2013
    Hi Andreas,

    Take a look at the TppViewer component installed with ReportBuilder.
    This is essentially a panel that you place on a form with the capability
    of viewing reports.

    To view a report inside the viewer, you simply assign its Report
    property and call Report.PrintToDevices.

    Best Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com
This discussion has been closed.