Home Server

Direct access to a report and set autosearchvalues with rServer?

edited April 2004 in Server
Hi,

I want access from a thinclient to the rServer and display a specific
report. To this report I want to set autosearchvalues.
The report is stored in a firebird db.

I can find an example for this? Maybe I am blind! ;-)

The thinclient examples only use the report explorer.

Best
Martin

Comments

  • edited April 2004


    1. To specify a report check out

    RBServer\Demos\Clients\02. Client Report

    Basically you do this:

    rsClientReport1.VolumeName := 'Report Archives';
    rsClientReport1.ReportName := 'Sales History\Customer List';
    rsClientReport1.Print;

    2. To set AutoSearchField values check out

    RBServer\Demos\Clients\04. Custom Parameters

    Basically you do this:

    rsClientReport1.VolumeName := 'Report Archives';
    rsClientReport1.ReportName := 'Sales History\Customer List';

    rsClientReport1.GetAutoSearchParameters;
    {add code to modify the ClientReport.AutoSearchFields }

    rsClientReport1.Print;





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

    Best regards,

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