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

How to access the Autosearch Parameters on the Server Side

edited February 2004 in Server
Hello,

I'm looking for a way to log the start of each report in our DB.
Works fine, but i can't find a way to get to the autosearchparameters,
because i would like to log them too.

for iLoop := 0 to aEventParams.ReportParameters.Count - 1 do
Params := Params +
aEventParams.ReportParameters.ItemsByIndex[iLoop].Name + '=' +
aEventParams.ReportParameters.ItemsByIndex[iLoop].AsString + '&';

This works fine for Report & Session Parameters, but ..... autosearch ?

Any suggestion.

Comments

  • edited February 2004

    Some of the ReportVolume events such as BeforePublishReport provide access
    to the Report object. See the online helo for the ReportVolume
    BeforePublishReport event and the TrsBeforePublishReportEventParams object.
    Note that the aEventParams.Report property is of type TppProducer. You will
    need to typecast it to TppReport.



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

    Best regards,

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