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

how to TppReport from TraSystemFunction.ExecuteFunction

edited June 2004 in RAP
1.
i want to have access to TppReport object without passing as parameter
the report in a Pass-Through function ?

2.
how can i detect inside ExecuteFunction if code runs on designer
( to display other messages ) ?

Comments

  • edited June 2004

    1. There is no way to do this unless in your Delphi code you somehow have
    setup a global object reference to the TppReport object. Only thing I can
    think of is that in the app start up code, prior to showing the report
    explorer, you initialize a global Delphi variable that can be accessed from
    your pass thru functions.

    2. Can you explain this second question further. The ExecuteFunction will be
    called by your evnent-handler code when the report is generating.


    --

    Nard Moseley
    Digital Metaphors Corporation
    www.digital-metaphors.com



    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
This discussion has been closed.