Enable/disable report parameter control at runtime in SSRS

Hi,
I am using SSRS 2012. I want to enable/disable or hide/show parameters based on another parameter selection.
I have a 3 parameter, Parameter 1 says which parameter need to show either Parameter2 or parameter3 in the parameter panel. i don't find any expression to show/hide option.
Appreciate your help.
Paramesh G

However if you want parameters to enable disable then that functionality can be obtained by using cascading parameters
ie make parameters  2 and 3 dependent on 1
So for that created two datasets which will provide values for parameters 2 and 3
Check allow null values for both the parameters
Set default value as NULL for both parameters
then for dataset use queries like
SELECT ...
FROM ..
WHERE @Parameter1 = 'Parameter2'
SELECT ...
FROM ..
WHERE @Parameter1 = 'Parameter3'
This will make sure parameter2 or 3 gets enabled with required values based on what you choose for parametr1
Please Mark This As Answer if it solved your issue
Please Mark This As Helpful if it helps to solve your issue
Visakh
My MSDN Page
My Personal Blog
My Facebook Page

Similar Messages

  • Enable/Disable Reporting in OSB using script.

    Hi,
    I have to enable/disable reporting in OSB proxy service using script like python,etc..
    Each and every time we create a session in console and activate the session.
    But as per our requirement, we need to do this activity using script in back end.
    Can anyone help on this.
    Thanks
    Rajesh

    Hi,
    I have to enable/disable reporting in OSB proxy service using script like python,etc..
    Each and every time we create a session in console and activate the session.
    But as per our requirement, we need to do this activity using script in back end.
    Can anyone help on this.
    Thanks
    Rajesh

  • How to hide/view a SSRS report parameter control dynamically at runtime?

    Hi,
    I am using SSRS 2005. I want to enable/disable or hide/view parameters based on another parameter selection.
    Say Suppose I have 5 parameters. User selects first value in first parameter I should show only Second parameter and hide remaining 3 parameters (Parameter 3,Parameter 4 & Parameter 5).
    If user selects second value in first parameter I should show third parameter and hide remaining 3 parameters(Parameter 2,Parameter 4 & Parameter 5).
    Similarly If user selects third value in first parameter I should show fourth and fifth parameter and hide remaining 2 parameters(Parameter 2 & Parameter 3).
    There is no relationship between these parameters except user selection.
    I can not see any Visible property for report parameters.
    Any "builtin" support in SSRS for this scenario.
    Appreciate your help.
    Regards,
    Bala

    Thanks for the tips.
    RDL is deployed in Report sever and the Report is integrated with .net application. End user view the
    Reports from Application.
    Currently I show the parameters as you mentioned in point 2.
    Based on my understanding on Point 1,  I want to create an independent web page in .net that has
    the entire parameters section and then a submit button that calls the report with the selected parameters.
    From SSRS side, I want to hide the parameters statically and make default values as NULL.
    Can I achieve Show/Hide parameter functionality by this way?
    Regards,
    Bala

  • Enabeling/Disabling Report parameter

    Hi,
    I have to enable/disable the report parameter values depending on the other parameter.
    For Eg. I have three report parameters
    1. Range- Value set: Yes_No
    2. From Date- Value Set:FND_STANDARD_DATE
    3. TO date- Value Set:FND_STANDARD_DATE
    I have to disable 'From Date' and 'To date' values if Range parameter value is 'No'
    We can't modify FND_STANDARD_DATE parameter and can't use $FLEX$.YES_NO to enable/disable values. Can we do this using special value set? I'm ok with creating new custom value sets for 'From Date' and 'To Date' but final date format must be Standard Date
    Regards,
    Ravindra

    Hi,
    To achieve this functionality, I have used the special value set.
    I'm able to enable/disable the date parameters. However I'm getting following error while entering the date in the date fields.
    app-fnd-00006: User Exit #FND PLSQL is not defined
    Details:
    1. Range- Value set: Yes_No
    2. RANGE_DUMMY Value set:None
    This will returen Y/N depending on range parameter value.
    3. From Date- Value Set:CUSTOM_FND_STANDARD_DATE, Type:Special
    This is the special value set. I've added the following quey in the VALIDATE section of the value set
    FND PLSQL"BEGIN
    IF :$FLEX$. RANGE_DUMMY= N THEN
    NULL;
    END IF;
    END;
    4. TO date- Value Set:CUSTOM_FND_STANDARD_DATE,Type:Special
    Fromat Type:Standard Date
    I'm able to enable/disable the date parameters using above function but its giving mentioned error while entering value for From Date parameter
    Regards,
    Ravindra
    Edited by: user12228525 on Jan 23, 2013 4:01 PM
    Edited by: user12228525 on Jan 23, 2013 4:08 PM
    Edited by: user12228525 on Jan 23, 2013 4:09 PM
    Edited by: user12228525 on Jan 23, 2013 4:11 PM
    Edited by: user12228525 on Jan 23, 2013 4:12 PM

  • Hide/show or enable/disable report column

    Hi,
    I m using Oracle Apex4.0
    I m having an interactive report which has a cloumn with Link provided to it.
    I want to enable/disable the linked cloumn for certain records or else the link column can ba hidden/shown for certain records.
    How can it be done?

    Hi,
    Did you look at the Denes example ? It looks as good solution for you.
    Is your report in format like this ?
    col_1 col_2 col_link
    col_1 - column1
    col_2 - column2
    col_lnk - column with link
    in the link there is some redirection to detail page where you can provide update ?
    the link should contains record ID. correct ?
    The only possibility in your case is Denes or some other simple solution. (case solution)
    It should be good if you reproduce it on apex.oracle.com
    We can provide more help to you in there.
    Regards
    J :D

  • How to Disable a SSRS report parameter control dynamically at runtime?

    I am trying to disable parameter based on the other parameter selection.
    Please help me on this

    Can we achieve this purpose using aspx page or custom code ?
    yes you can
    You can create a custom aspx page and inside that render the report code (rdl) and apply necessary styling etc inside it
    Please Mark This As Answer if it solved your issue
    Please Vote This As Helpful if it helps to solve your issue
    Visakh
    My MSDN Page
    My Personal Blog
    My Facebook Page

  • How to enable or disable report parameter based on certain conditions

    Hello ALl,
    I have 3 parameters in my report. Fst parameter is having a LOV which is having all status value like 'Received,Refunded, Exempted etc).
    second parameter is From date and third parameter is To Date which is having value set as "FND_STANDARD_DATE'
    Now my requirement is If Status is selected as "Exempted" then From and To Date should be disabled.
    if other than that then both should be enabled.....
    Please help me out.
    How it cna be done.
    Thanks in advance
    sheetal

    Hi,
    You can use a condition
    <?xdoxslt:ifelse(Condition,'Paragraph','')?>
    Condition is the condition that needs to be satisfied
    Paragraph is the paragraph that needs to be displayed if the condition is satisfied
    '' is what needs to get displayed if the condition is not satisfied.
    Thanks,
    Swarna

  • Enabling and disabling tabs (tab control) at runtime

    I have an app that uses the tab control. I would like to disable certain tabs based on login/password. I don't seem to be able to find the right property to make this happen. Thanks for the help.
    Todd

    I'm seeing the same properties as you: visible, disabled, page selector visible, and pages.  I don't see anything about a "page visible" property.  BTW, I'm using LV 7.1.  Also, the tab control property node only has an error in input and error out output.  No connectors for a reference, even though the context help has references shown.
    HOWEVER...if I simply copy and paste the tab control property node, I get a generic node that DOES have a reference input and when wired to output from the index array function, I CAN select the PageVis function and wire a boolean to it!  My test vi works exactly like I want and can make various tabs appear and disappear on command.
    Attachments:
    Test VI FP.jpg ‏37 KB
    Test VI BD.jpg ‏31 KB

  • Import a column from an excel spreadshee​t, then enable/dis​able boolean controls in a cluster based on imported values

    Greetings all. I have an application I've been developing and refining for some time.  Part of it entails an interactive periodic table of elements where the user can select multiple elements to include in a multi-element chemical standard.  The part I'm having difficulty with now is disabling multiple elements within the periodic table.  Specifically, what the scientist wants is to be able to reference an excel inventory that they keep of available on-hand single-element standards.  I need to be able to read in column A of that spreadsheet, build a distinct array of those elements listed (some are listed more than once) and then disable the boolean controls in my periodic table for those elements not in the array (or enable those elements which are in the array, whichever makes themost sense).  This way, the analyst cannot select elements in the periodic table for which thay have no on-hand inventory.  I see how to enable or disable all controls in a boolean cluster, and I see how to enable/disable a single control, but I'm looking for an elegant way to import the excel column, build an array of thsoe values and then enable only those values.  Any help is always appreciated.  Thanks again.

    hi
    try this
    Gaurav k
    CLD Certified !!!!!
    Do not forget to Mark solution and to give Kudo if problem is solved.
    Attachments:
    Excel column read.vi ‏29 KB

  • How to dynamically enable or disable a control's runtime shortcut menu?

    Is there a way to do it?  
    I need to disable a control's runtime menu while my VI is running and then enable it at other point of time.  All the way, I can make use of the default menu items (Reinitialize to default values, Copy data etc..,) for the control and I don't have any customized menu items.

    GerdW wrote:
    Hi Ajay,
    as a quick & dirty way you could use a filter event for mouse clicks. When you want to disable the right-click menu you filter the right-click mouse events…
     Thats nice dirty idea.  But it might give my end-user an impression that my application doesn't respond to the given options.  I specifically want to greyout the right-click menu.
    Thanks,
    Ajay.

  • Visual Studio TestStand API runtime enable/disable XML reporting file creation

    I am looking for a Visual Studio C# solution to selectively disable creation of the report generation XML file using the TestStand API.
    These XML files are useful for active troubleshooting for technicians, but wind up cluttering important directories with useless information most of the time.
    I am aware that the XML file creation can be disabled through the TestStand Sequence Editor menu item Configure | Result Processing | Output Name Report | Enabled unchecked option.
    This is helpful, but:
    1. I have not found a way to check-uncheck this feature at runtime.
    2. I do not believe that this would be an effective solution for my instal-less Base Deployment Paradigm.
    Any help or ideas would be appreciated!
    Solved!
    Go to Solution.

    Thank you for the quick and concise response James_Grey!
    This is useful, complete, and implementable but not exactly what I was hoping for.
    I was hoping to be able to enable/disable the XML file creation for the currently executing instance of the engine prior to sequence start.
    I would rather not disable reporting through a configuration file that would effectively disable it for all uses of TestStand until it was re-enabled again.
    Are my expectations unrealistic?
    Does anyone have any idea how creation of the XML file can be enabled/disabled for an active instance of the engine prior to sequence start through the API without altering the file based configuration of TestStand?
    I have seen some postings around 2008 that indicate this can be done, but I was unsuccessful implementing those solutions in TestStand 2013.

  • How to enable / disable SSRS Parameter

    Hi
    I want to enable a parameter called "start date" (type is date) when another (value from dropdown) parameter is selected
    Say for an example, i have below 3 parameters
    1. drop down which 2 values called "vtextbox","vdate"
    2. start (data type is date)
    3. finish (data type is date)
    when i select "vdate"value from the dropdown 2nd and 3rd parameters has to be enable
    similarly when i select "vtextbox" value from the dropdown 2nd and 3rd parameter has to disable
    I have searched many forums every one says this is not possible in report manager interface
    But this is possible in custom code
    please make a note all three parameters are independant
    It would be great if any one provide the custom code for same
    Regards
    Santosh

    Hi itsmesantosh1982,
    According to your description, you want to use a parameter to control enable/disable other two parameters. Right?
    In Reporting Services, when we create a parameter, this parameter has been enabled. The only way you want to disable the parameter is deleting it. In this scenario, disable the two parameter is same as selecting all values in these two parameters. So
    we can just modify the default values in 2nd and 3rd parameter instead of using cascading parameter. We can create a dataset, put in the query below:
    IF @Param='vtextbox'
    select distinct startdate from [table]
    else
    select '[value]'
    The [value] can be any value which is not existing in [table]. So when you select 'vtextbox', the default value will be all values in the table. If you select 'vdate', it will need you to select value automatically because the return value is not existing
    in the table. This can be an effective workaround for your requirement.
    If you have any question, please feel free to ask.
    Best Regards,
    Simon Hou

  • Report Viewer control disabled in aspx page

    Hi All,
       I am trying to generate a report with data pulled from one of a SharePoint list and binding it to report viewer control. The binding happens fine through code. Page is actually a layout based and deployed to one of folder in layouts and in the
    same folder the rdlc file resides. But when the aspx page is opened in SharePoint site, the report viewer control appears as disabled. We are using visual studio 2012 and SharePoint 2013 setup to generate the report. Does anyone have idea how to fix this
    issue
    Regards RCP

    You can get the report viewer disabled if scripts aren't enabled.
    Check your browser settings.
    I should imagine if the correct scripts aren't served with the control for whatever reason then the same problem could occur.
    You might want to consider posting the question on the sharepoint forum.  I know configuring SharePoint is notoriously tricky and that might be your issue here. 
    But I don't do sharepoint.

  • Disabling and or hiding parameter controls depending on the value of a popup

    How should I go about doing this? I've set the flags for the popup param to PF_ParamFlag_SUPERVISE like so
    def.flags = PF_ParamFlag_SUPERVISE;
    PF_ADD_POPUP(
         "Mode",
       6,
       1,
         "Option 1|Option 2|...",
       POPUP_MODE_ID
    And I'm capturing the PF_Cmd_USER_CHANGED_PARAM command like so
    case PF_Cmd_USER_CHANGED_PARAM:
         ERR(UserChangedParam(in_data, out_data, params, output, reinterpret_cast<PF_UserChangedParamExtra *>(extra));
         break;
    static PF_Err UserChangedParam(
        PF_InData* in_data,
        PF_OutData* out_data,
        PF_ParamDef* params[],
        PF_LayerDef* outputP,
        PF_UserChangedParamExtra* extra)
        PF_Err err = PF_Err_NONE;
        if (extra->param_index == POPUP_MODE_ID)
            if (params[POPUP_MODE_ID]->u.cd.value == 2)
                 //Code to enable and show the controls
            else
                 //Cose to disable or hide the controls
        return err;
    Am I doing everything right so far? What code do I need to put in the "if (params[POPUP_MODE_ID]->u.cd.value == 2)" block to disable a parameter? How different would the code be to hide the parameter completely? Can I hid entire topics like I can hide parameters? I'd have a use for all three things, I just can't figure out how to do them.

    I took a look at the Supervisor sample project. I've managed to figure out how to disable controls, which I've done like so:
    AEGP_SuiteHandler suites(in_data->pica_basicP);
    params[CONTROL_ID]->ui_flags |= PF_PUI_DISABLED;
    params[CONTROL_ID]->flags |= PF_ParamFlag_COLLAPSE_TWIRLY;
    ERR(suites.ParamUtilsSuite3()->PF_UpdateParamUI(
        in_data->effect_ref,
        CONTROL_ID,
        params[CONTROL_ID]
    Enabling should be something this instead:
    params[CONTROL_ID]->ui_flags &= ~PF_PUI_DISABLED;
    What I can't figure out, still, is how to hide a control. I've tried to set the PF_PUI_INVISIBLE flag but that did not seem to change anything. It looks like the Supervisor plugin is setting the exact same flag to hide controls but it must have something else that I'm missing.

  • Report Parameter Default Value at runtime

    Post Author: DMiller
    CA Forum: .NET
    Hi,
    I need to be able to create new parameters at runtime and have been somewhat successful in this endeavor. I have one remaining issue that I am hoping that somebody can help me with. Let me explain.
    When you create a parameter from within the Crystal XI designer, you are able to specify a number of default values that will display as a list box at runtime. Eg. ParameterName is MaritalStatus and default values are ("Married", "Single", "Divorced" etc). There is also the ability to specify the Default Value in the Value Options area of the screen. This value could be set to any one of the default values above - let's say that I set it to "Single". By setting the Default Value, this causes the Parameter Fields screen, at runtime, to "Select" the specific default value set above - in this case "Single", instead of showing "..." as the parameter value.
    The default value setting in the Value Options is beneficial when you have reports that are usually run with certain parameter values and only occasionally these need to change. Instead of having to specify every parameter value, the user only has to set the ones that have not been defaulted or they want to change.
    So, I have been successful in creating the parameters at runtime and successfully running the report. I have been unsuccessful in setting the "Default Value" as seen in the Value Options area. I have tried a number of properties on the report parameter object and have not found anything to set this.
    Does anybody know how to set the "Default Value" as seen in the Value Options area in the designer at runtime?
    Thanks for any help.

    Post Author: JerryB
    CA Forum: .NET
    You have described my scnario to a tee.  Did you ever figure out how to get the single default value that is available in the "value options" area when working within the Crystal Reports development environment.  I am using VB.Net and have a nice report menu form and viewer but recently a user ask me to set the default value in one of my combo boxes and I have been unsuccessful in finding the correct property to use.

Maybe you are looking for

  • How can I restore automatic display & selection of addresses of contacts when I type the first letter on my Yahoo addressee bar?

    When filling out the addressees (T0, Cc, and Bcc bars) on a new mail in Yahoo, I would type the first few letters of each addressee, and get a display of the names and e-mail addresses starting with those letters. I would simply highlight the ones I

  • Using an external drive for OS, problems with install

    Hi My iMac, 1.8 GHz, OS 10.5.8, PPC's internal hard drive is failing.  Rather than replace the internal drive, I had hoped to use an external USB drive to run the OS. When using the OS 10.5.x install, I am repeatedly told the OS cannot be installed o

  • SQL query - using COUNT

    I have a database structure like this: Table - lodges LodgeID (PK) Lodge etc Table - scores ScoreID (PK) Score CategoryID LodgeID (FK) I'm trying to return results in the form: LodgeID, Lodge, Category, Number of Scores in that Category, Average Scor

  • Filter output data according to portal current user name in omni portlet

    We have created an omniportlet that connects to a database, and retrives some values into a defined HTML layout. We want to filter output data according to our portal current user name When we try to use portal.wwctx_api.get_user inside of omni portl

  • Farsi numerical

    I have problem with decimal numbers in farsi web pages when use firefox but in IE it shows correctly.for example the unit 1/5 in farsi pages show 5/1 and I guess it is very important error.I search in web and find that when we change the number of bi