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

parameters

edited July 2004 in End User
Is there any way to have the report designer use parameters? I see it
can make reports but anything with say a data range that would change
for every month they needed to run it will need to be edited before it
can be run. I'd like just a prompt to ask for the date ranges ( or
other parameters) as tehy ran it. Can we do anything like this?

Comments

  • edited July 2004

    1. See the tech tip below.

    2. Run the RBuilder\Demos\EndUser\ examples. The Report Explorer example
    contains a subfolder called AutoSearch with many examples of searching. You
    can also check out RBuilder\Demos\AutoSearch - though it contains examples
    that are not end-user based as well.



    ----------------------------------------------------
    Tech Tips: Creating AutoSearch parameters via DADE
    ----------------------------------------------------


    1. Access the Data workspace of the Report Designer.

    2. Create a DataView using the Query Wizard or Query Designer.

    2. A DataView tool window will be displayed in the data workspace.

    3. Press the Search button. The Search tab of the Query Designer will be
    displayed.

    4. Add a search criteria item and select the AutoSearch checkbox. You can
    optionally select Mandatory as desired.

    5. Close the query designer.

    6. Now when you select the Preview tab of the Report Designer. A search
    button will appear on the toolbar. This displays the AutoSearch dialog.

    7. By calling Report.Print in code, or by selecting print/preview from the
    report explorer the AutoSearch dialog will be automatically be displayed.



    --


    Best regards,

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