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

OnGetDirectory event in TpsReportModuleVolume

edited July 2003 in Server
In the Custom Parameters demo, reports that are the wrong colour (based on
the session parameters) are filtered out by removing them from
aEventParams.Directory in the TrsReportTemplateVolume.OnGetDirectory event.
How would you do that when using reports on forms? I assume you would use
the OnGetDirectory event in TrsReportModuleVolume, but how do you access the
instances of this class that are created when you call
TrsReportCatalog.RegisterReport?

--
Nathan Sutcliffe
nsutcliffe@speedlinesolutions.com

Comments

  • edited July 2003

    Have researched this, but thus far have not found any way to access the
    ReportModuleVolume instance. I will continue to research it more and post a
    follow up here.....


    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited July 2003
    > Have researched this, but thus far have not found any way to access the
    a

    Thanks. An alternative might be a way to create instances of
    TrsReportModuleVolume and register reports with them. I couldn't see how to
    do that either.
  • edited August 2003
    > Have researched this, but thus far have not found any way to access the
    a

    Any progress on this issue?
  • edited August 2003

    No. I think this is a limitation of the current implementation.

    I tried several work arounds and all failed.




    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited August 2003
    > No. I think this is a limitation of the current implementation.

    Thanks for looking into this. Can I turn this into a feature request for
    the next version?
  • edited August 2003

    I was finally able to create an example of using TrsReportModuleVolume
    event-handlers:

    http://www.digital-metaphors.com/tips/ReportModuleVolumEventHandlers.zip

    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

    Nard Moseley
    Digital Metaphors
    www.digital-metaphors.com
  • edited August 2003
    > I was finally able to create an example of using TrsReportModuleVolume

    This looks like it'll work nicely! Thanks for your help!
  • edited August 2003


    In the next maintenance release there will be a new
    TrsReportCatalog.GetReportModuleVolume(aVolumeName) method that make
    retrieving the report volume instance simpler.




    --
    Nard Moseley
    Digital Metaphors
    http://www.digital-metaphors.com

    Best regards,

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