Home Server

Problems with TppVariable and questions to AutoSearchParameters

edited June 2003 in Server
I use the WebTier - ISAPI solution.

1. When I start my Report.dll and choose a Report without TppVariables,
the Explorer show the Report correct.
But when I start a Report that have a TppVariable with an OnCalc event,
the Explorer shows a HTTP 500 - ERROR.
For Example:
procedure Variable1OnCalc(var Value: Variant);
begin
Value := 'test';
end;

2. I set 3 or 4 AutoSearchParamters from the WebTier. For Example:

aWebRequest.AutoSearchParameters[0].FieldsByName['test'].SearchExpression:='
test';
My question now is how can I disable the 'test'-Field Parameter for the
User when he press
in the Report the SearchDialog. But I want to disable one Paramter, the
second
AutoSearchParamter I want to Display when he press the searchdialog.

3. It's able to get all SearchParameters not only the AutoSearchParameters
with a
WebRequest. I mean something near it

aWebRequest.SearchParameters[0].FieldsByName['test'].SearchExpression:='test
';
Or gives a alternative to set SearchParameter from the WebTier.

Any ideas?

Comments

  • edited June 2003

    1. There are no known issues with server based reports and TppVariables.
    Make sure that you are using RB 7.02 - which is the latest release. Test the
    same report within the contxt of a standard Delphi Windows application. If
    you still have an issue, please creating a simple, minimal Delphi project
    and email in zip format to support@digital-metaphors.com and we can check it
    out here.

    2. All of hte autosearch parameters are displayed in the autosearch dialog.
    There is no way to display only selected autosearch fields. An alternative
    might be to define custom report parameters. For an example see the examples
    located RBServer\Demos\Servers\Custom Parameters,
    RBServer\Demos\WebTier\Custom Parameters, and
    RBServer\Demos\ClientReport\Custom Parameters. Each example contains a
    ReadMe.doc.



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

    Best regards,

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