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

ppDesigner.Report := ppViewer.Report Error

edited May 2006 in End User
Hi!

I can?t get the report linked to a ppViewer to a ppDesigner.

Somes ideas how I can do that?

Thank You!

Fernando A Santos
Fastheon Consultoria e Sistemas

--- posted by geoForum on http://delphi.newswhat.com

Comments

  • edited May 2006
    Hi Fernando,

    The TppViewer.Report object is a TppProducer, which is an ancestor of the
    TppReport object. You will need to typecast this property as a TppReport
    for it to compile correctly.

    ppDesigner.Report := TppReport(ppViewer.Report);

    --
    Regards,

    Nico Cizik
    Digital Metaphors
    http://www.digital-metaphors.com

    Best Regards,

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