Parameter Get All Values

  • Hi

    I have created a parametered called 'Pay Via"

    From the dropdown box, the user can select:

    - Visa

    - MasterCard

    - PPA

    - Robs Amex

    - American Express

    -Invoice

    My report is working fine if the user selects one of the above options.

    However, I need to add an option to this dropdown box called "All".

    I just don't know to reference all of the above pay vias into the "Available Values" area.

    Thanks.

  • There are a couple of ways to do what you want. No matter what approach you choose, you will have to change the filter to allow for multiple options. The simplest change you can make to the parameter is to check the option "Allow multiple values." The filter will need to be changed from a comparison of equality with one value (Fields!name.Value = @Parameter) to a comparison against multiple values: Fields!name.Value IN (@Parameter).

    The other way is to provide a manual label of "All" and a value of "*" (asterisk) and use a comparison of LIKE. If the filter is in a SQL statement, instead of an asterisk use the percent sign (%).

    Hope this helps.

    Geoff

Viewing 2 posts - 1 through 1 (of 1 total)

You must be logged in to reply to this topic. Login to reply