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

Search dialog and Custom Parameters in ISAPI

edited February 2004 in Server
Hi!

I have seen your demo "Custom Parameters server" and "Custom Parameters
client" demos which explains how to make some customizations.

In that demo you have shown how to use custom search dialog.

But I'd like to use Search dialog which has the same look as in RS original,
but with some modifications (disable and fill some of edit values regarding
of logged user). The same look is "must" to ensure compatibilty for all
reports and be as much as possible compatible with any further RS
version....
If that is possible, do I have to get some source or there is some other way
to make that work.

Regards,

Benjaimin

Comments

  • edited February 2004

    If you have search criteria that can be specified by the users login, then
    you do not need to designate them as AutoSearch criteria. AutoSearch is
    designed for ask at runtime criteria. When you build the query you can
    define standard search criteria. Then use the
    ReportVolume.BeforePublishReport event to extract the TdaSQL object from the
    QueryDataView and apply the login parameter values to the criteria.

    The following example shows how to extract the TdaSQL object from a
    QueryDataView and add/modify search criteria

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





    --
    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.