Unhide subform based on 2 Dropdown Lists

I would like to be able to unhide a subform when the answers in dropdown1 and dropdown2 match, if they don't match then the subform would not open.
Any advice would be grateful

Hi,
Try something like this JavaScript in the calculate event of the subform you want to unhide;
if (DropDownList1.rawValue == DropDownList2.rawValue)
    this.presence = "visible";
else
    this.presence = "hidden";

Similar Messages

  • Populating several textgroups based on two dropdown lists troubles

    Hi All,
    I have a dropdown list (case1) which contents "engine1", "engine2" and "engine3" and a second dropdown list (Component).
    If i select in "case1" = "engine1" then in "component" should be displayed "Motor" and "burner".
    it works this way...that's everything fine.
    ----- form1.#subform[0].#subform[1].Case1::enter: - (JavaScript, client) -----------------------
    var 
    arrayItems = eval(Case_1.value);
    for 
    (var i=0; i < arrayItems.length; i++) {this.addItem(arrayItems[i]);
    ----- form1.#subform[0].#subform[1].Case1::change: - (JavaScript, client) --------------------------
    if 
    (xfa.event.newText=="Engine1" || "Engine2" || "Engine3" );
    var 
    arrayItems = eval(Comp_0.value);
    for 
    (var i=0; i<arrayItems.length; i++) {Component.addItem(arrayItems[i]);
    ----- form1.#subform[0].#subform[1].Component::enter: - (JavaScript, client) -----------------------if  (xfa.resolveNode("form1.#subform.Case1").rawValue == "Engine1"){
    xfa.resolveNode("form1.#subform.Component").clearItems();
    var arrayItems = eval(Comp_0.value); 
    for (var i=0; i < arrayItems.length; i++){
    this.addItem(arrayItems[i]);
    if  (xfa.resolveNode("form1.#subform.Case1").rawValue == "Engine2"){
    xfa.resolveNode("form1.#subform.Component").clearItems();
    var arrayItems = eval(Comp_0.value); 
    for (var i=0; i < arrayItems.length; i++){
    this.addItem(arrayItems[i]);
    if  (xfa.resolveNode("form1.#subform.Case1").rawValue == "Engine3"){
    xfa.resolveNode("form1.#subform.Component").clearItems();
    var arrayItems = eval(Comp_0.value); 
    for (var i=0; i < arrayItems.length; i++){
    this.addItem(arrayItems[i]);
    then if i select "motor" then should be visible a group "engine1Motor", "engine2Motor", "engine3motor".
    if i decide to select "burner" after "motor" the group which belongs to Motor should stay visible and a new group should which belongs to burner "engine1burner1", "engine1burner2", "engine1burner3" should be visible.
    and if case2 is filled then a new goup "1.ifcase2", "2.ifcase2", "3.ifcase2" should be visible.
    I tried it this way but it doesnt work :-(
    ----- form1.#subform[0].#subform[1].Component::change: - (JavaScript, client) ----------------------
    if  (xfa.resolveNode("form1.#subform[0].Case1.rawValue") == "Engine1"){
    xfa.resolveNode("form1.#subform.Component.rawValue")
    == "engine1Motor"; 
    Motor.presence
    = "visible";}
    else{
    Motor.presence= "hidden"}
    who can help me to solve this problem??
    Thank u!!
    D.

    Hi,
    The script in itself looks okay, but there are a few things to check:
    That the language is JavaScript.
    That the values your are testing against EITHER match the Item values (in the Object > Field palette) OR the bound values (if specified in the Object > Binding palette).
    I am presuming that this script is in the calculate event of the dropdown.
    The relative references between the objects is not full enough. See: http://assure.ly/kUP02y.
    I think that you could achieve this in an easier way!!!
    Select each of the dropdowns. In the Object > Field palette you will have the items listed. Okay, nothing to do here.
    Now go to the Object > Binding palette and tick specify values. Then for Category 1 specify PN1, Category 2 specify PN2, etc. Similarly for the product dropdowns: Product A specify A, Product B specify B, etc.
    Then in the caculate event of the textfield you would use FormCalc to concat the dropdowns:
    $ = Concat(Dropdown1, Dropdown2)
    I appreciate that the product dropdown is populated based on the users selection in the Category, but you can script the bound value.
    See examples here: http://assure.ly/fYCuQ2, and especially this one: http://assure.ly/jcTahK.
    Also if you want searchable dropdowns: http://assure.ly/mP5Lud.
    Good luck,
    Niall

  • How to populate a textfield based on a dropdown list and a checkbox

    Hi Guys,
    I need help.
    first step: I have a dropdown list if i click in dropdownlist "a" and put in numeric field a number bigger than 99 the, checkbox should be marked and  second step: a textfield1 should be visible.
    the first step works perfectly but the second doesnt work.
    this is my coding for the second step in event : change java script
    if ((DropDownList1.rawValue == "a") && (this.rawValue == 1))
    TextField1.presence = "visible";
    else
    TextField1.presence = "hidden";
    does anybody have any idea why?
    thanks!!
    Diana

    Hi,
    I would put the following in the exit of the dropdown and the checkbox:
    if 
    (DropDownList1.rawValue == "a" && CheckBox1.rawValue == 1){
    TextField1.presence
    = "visible";}
    else
    TextField1.presence
    = "hidden";}
    (the script is all over the shop, but should be OK in the form).
    Then in the exit event of the numeric field (after the changing of the checkbox value) you could call the checkbox exit event.
    Good luck,
    Niall

  • Query based on a dropdown list (query)

    Hello
    I have a dropdown list (populated with data from a query)
    mysql_select_db($database_myconnection, $myconnection);
    $query_groepen = "SELECT * FROM artikelgroepen ORDER BY groepomschrijving ASC";
    $groepen = mysql_query($query_groepen, $myconnection) or die(mysql_error());
    $row_groepen = mysql_fetch_assoc($groepen);
    $totalRows_groepen = mysql_num_rows($groepen);
    Now I want to show on the webpage all articles which are part of the article-group that I have selected from the above mentioned list (query)
    Which parameter do I have to use in the query which follows :
    mysql_select_db($database_myconnection, $myconnection);
    $query_artikelen = "SELECT * FROM artikelen WHERE groep  ???????????";
    $artikelen = mysql_query($query_artikelen, $myconnection) or die(mysql_error());
    $row_artikelen = mysql_fetch_assoc($artikelen);
    $totalRows_artikelen = mysql_num_rows($artikelen);
    Thank you for your replies

    Sorry, I don't have the time to script it for you. As I said before, you need to submit the form and use a URL parameter to display the result. This is the same principle as any filtered recordset.
    Put your drop-down list in a form with the method set to GET.
    In the second recordset, use the name of the drop-down menu as a URL parameter to filter the SQL query. (See the following Help page: http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcda9110b1f693f21-799da .html).

  • Setting the value of a field based on a dropdown list

    I am using the latest production release of JHeadstart 10.1.3.0.91. I am trying to set the value of a field based on selecting the value of another field (drop down list). The drop down list field has the following attributes set autoSubmit="true" immediate="true" valueChangeListener="#{jhsPageLifecycle.updateModelValue}".
    The other field has the partialtrigger set to the first field. ie "depends on" selection from JHeadStart file. The value of the second field is set in the setter of the VO RowImpl java file.
    The value of that field is only populated on the screen if it is set to disabled="true". This seems a bit bizzare behaviour. Can you explain why it cannot set the value of the field when it is not disabled.

    Worked out that if i set the "Clear/Refresh value" attribute on the field that i want updated then it will work ok
    Alan

  • Adobe Form Section is Not Showing When Value is Selected from Dropdown List

    Hello Experts
    We have this issue where an ADOBE FORM is embedded in a WEBDYNPRO APPLICATION. 
    When selecting a value from the dropdown field in the ADOBE FORM, some particular section in the ADOBE FORM is not shown.
    Here's the ADS and NW versions that we were using.  We are running on EHP5 landscape.
    - ADS - 7.3 SPS 3
    - NW 7.3 SPS 3
    PS. The same program is working in EHP4 correctly.
    Any idea on how to resolve this issue?

    This is a custom built form, the thing is we just upgraded our system to EHP5 and we are in the test phase. The same form works in system in EHP4.
    Based on the dropdown list selection, there are some sections in the form which are hidden previously will be shown now. when you change the country in the dropdown the new sections appear. The sections will not be visible before you select the couuntry from dropdown.
    Should I upgrade my Adobe live cycle designer version to a higher one?
    Thanks

  • Can this be done? Call subforms based on dropdown linked to database

    I am hoping to make a dynamic form and I'm wondering if it's possible.
    I have a database with about 300 entries - pieces of farm property and a few bits of info about each of those properties. I want to create a form where users can choose the applicable piece of property from a dropdown list. Based on the property they select, another dropdown would populate with the crops associated with that property. Then based on the selection made in that dropdown, a specific form will be brought up.
    For instance, someone selects property #102 from the dropdown. In the database, property #102 is associated with wheat, barley and corn, so the next dropdown would populate with those three crops. The user selects wheat from the dropdown and the wheat form would be called. 
    I hope I explained that well enough.
    Is that possible? And if it is possible, how complicated is it to do? Assuming I already have the database and subforms, would this be a weeks-long process to script, or would it be fairly straightforward?

    Yes, in a way you can put the data as part of the script. In the above form :
    <script contentType="application/x-javascript" name="courtScript">// This script object controls the interaction between the court and PO Drop-down lists.
    // The array contains the court and the corresponding PO.
    var myCourts = new Array(new Array (7), new Array (6), new Array (8), new Array ());
    // Create a two-dimensional array.
                                                                                // For each court, add a 'new Array(number of PO +1)'.
    // Define the court and the corresponding PO.
    // The array syntax is arrayName[index][index].
    // The first index number represents the court,
    // the second index number is the actual data value.
    myCourts[0][0] = " ";        // The first items in the Drop-dowm Lists should be blank.
    myCourts[0][1] = " ";
    myCourts[1][0] = "Barnstable";    // The first data value is the court name,
    myCourts[1][1] = "";  
    myCourts[1][2] = "Smith";      // the rest are PO names.
    myCourts[1][3] = "Brown";
    myCourts[1][4] = "Jones";
    myCourts[1][5] = "Green";
    myCourts[1][6] = "Holiday";
    myCourts[1][7] = "Nobody";
    myCourts[2][0] = "Berkshire";
    myCourts[2][1] = "";
    myCourts[2][2] = "Green";
    myCourts[2][3] = "Red";
    myCourts[2][4] = "Yellow";
    myCourts[2][5] = "Purple";
    myCourts[2][6] = "Pink";
    myCourts[3][0] = "Bristol";
    myCourts[3][1] = "";
    myCourts[3][2] = "Long";
    myCourts[3][3] = "Short";
    myCourts[3][4] = "Tall";
    myCourts[3][5] = "Portly";
    myCourts[3][6] = "Wide";
    myCourts[3][7] = "Stout";
    myCourts[3][8] = "Frail";
    // This function will populate the court Drop-down List.
    // This function is called from the initialize event of the court Drop-down List.
    function getCourts(dropdownField)
       dropdownField.clearItems();
       for (var i=0; i &lt; myCourts.length; i++)
          dropdownField.addItem(myCourts[i][0]);
    // This function will populate the PO Drop-down List for any event EXCEPT the change event.
    // This function is called by the initialize event of the PO Drop-down List.
    function getPOs(courtField, dropdownField)
       dropdownField.clearItems();                             // Clear the items of the Drop-down List.
       for (var i=0; i &lt; myCourts.length; i++)             // Look through all the courts until we find the one that matches the court selected.
          if(myCourts[i][0] == courtField.rawValue)     // Check to see if they match.
             for (var j=1; j &lt; myCourts[i].length; j++)     // When they match, add the POs to the Drop-down List.
                dropdownField.addItem(myCourts[i][j]);
             dropdownField.rawValue = myCourts[i][1];    // Display the first item in the list.
    // This function will populate the PO Drop-down List for the change event.
    // This function is called by the change event of the court Drop-down List.
    // The first parameter is simply a pointer to the xfa object model.
    function getPOOther(myXfa, dropdownField)
       dropdownField.clearItems();                            // Clear the items of the Drop-down list.
       for (var i=0; i &lt; myCourts.length; i++)            // Look through all the courts until we find the one that matches the court selected.
          if(myCourts[i][0] == myXfa.event.newText)        // Check to see if they match. Note: we have to use the event.newText in this case because
          {                                                    // the change hasn't been committed yet.
             for (var j=1; j &lt; myCourts[i].length; j++)     // When they match, add the states/provinces to the Drop-down List.
                dropdownField.addItem(myCourts[i][j]);
             dropdownField.rawValue = myCourts[i][1];    // Display the first item in the list.
    }</script>
    -Wasil
    P.S.  For the form to be interactive in Adobe Reader, it must be Reader Extended

  • Dropdown list in Subform

    Hi There,
    I am facing problem in Dropdown lists in Subforms.
    I want the region dropdown list values according to country (only for DE) dropdown list value. Both Dropdown lists are in a Subform.
    For that, I have used this in EXIT event of Country Dropdown list:
    if (this.rawValue == "DE Deutschland")
    data.Item.IT_ITEM.DATA.ZZ_REGION.clearItems();
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Schleswig-Holstein","1");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Hamburg","2");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Niedersachsen","3);
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Bremen","4");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Nordrhein-Westfalen","5");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Hessen","6");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Rheinland-Pfalz","7");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Baden-Württemberg","8");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Bayern","9");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Saarland","10");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Berlin","11");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Brandenburg","12");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Mecklenburg-Vorpomme","13");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Sachsen","14");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Sachsen-Anhalt","15");
    data.Item.IT_ITEM.DATA.ZZ_REGION.addItem("Thüringen","16");
    else
    data.Item.IT_ITEM.DATA.ZZ_REGION.clearItems();
    It does only change first region dropdownlist value, not others because both dropdown lists are in a Subform.
    Other problem is that it works only when All Country Dropdown lists are "DE". Means, first region dropdown list depends upon not only first country dropdown but also other dropdown.
    My requirement is, If first country Dropdown is "DE", only first Region Dropdown list should be fill, not others. And so on.
    Please provide solution that How can I change all dropdown lists of a Subform dynamically?
    Waiting for reply.
    Thank you
    Chandler Bing

    Hi Philip,
    You are assigning values only the first row.
    data.Daten.Daten.Daten.Data.DropDown.rawValue =  data.Daten.Aktion.DropDown.rawValue
    You have to use the assignment in loop.
    1. check number of rows in the table
    2. Assign values in loop
    // Use the internal table which you binded to dropdown for getting total rows.
    var rows = xfa.resolveNodes("****DropDownSrc.DATA[*]").length;
    for ( var i =0; i < norows; i++)
    data.Daten.Daten.Daten.Data[i].DropDown.rawValue =  data.Daten.Aktion.DropDown.rawValue
    Hope i got you correctly

  • Javascript needed - need checkbox to check automatically based on selected item from dropdown list

    I am building a fillable form.  In this form, I have created items in a dropdown list.  Based on the item picked from the dropdown list, I need a corresponding checkbox to be checked.  I am certain there is an easy javascript to resolve my current problem.  Please assist.
    For example: dropdown list field (SubSupplier1) -   Demolition                            export value 2
                                                                                    Rough Carpentry Labor       export value 4
                                                                                    Rough Carpentry Material    export value 3
    I need the corresponding checkbox (SalesTax1) to automatically be checked when Demolition (export value 2) or Rough Carpentry Material (export value 3) is selected.
    Thank you,
    Jennifer

    Hi Jennifer,
    This should help you do what you need. Place it in the Custom Calculation property of the dropbox and select "commit selected value immediately" in the fields options:
    var drop = this.getField("SubSupplier1");
    var check = this.getField("SalesTax1");
    if ((drop.value == 2) || (drop.value == 3)){
    check.checkThisBox(0,true);
    else {
    check.checkThisBox(0,false);
    The code is asking if the export value of the field is either '2' or '3' and if so, check the box.
    Otherwise uncheck the box.
    If you don't want it to uncheck on other selections, remove the 'else' section of code.

  • How do I populate one dropdown list based on the selection in another dropdown list?

    I have one dropdown list that has 21 choices.  Depending on the selection of those 21 choices, I have another dropdown list that will select a different subset of choices from a pool of 96 choices.  How do I get this to happen?

    I have one dropdown list that has 21 choices.  Depending on the selection of those 21 choices, I have another dropdown list that will select a different subset of choices from a pool of 96 choices.  How do I get this to happen?

  • Return a value based on dropdown list

    I am a newbie in making PDF form and had recently started working with Live cyle to create a fillable form and managed to create a usable one patterned with the sample Purchase Order Form (by trial and error) which came along with the installation. Can somebody please help me with this form.  I have a dropdown list on the ITEMS column and want it to automatically display the unit price of the item selected from the drop down list. By the way I managed to make the table flowable.

    http://forms.stefcameron.com/2009/02/25/expandable-table-with-totals/

  • Generate Comp based on dropdown list and checkbox selection?

    I currently have a dropdown list with three sizing options in it. Then I have two check mark boxes, one if checked ideally would create the template at its normal composition size and if the other checkbox is checked it would inverse the widthxheight of the composition size. Then below that I have a "generate" button that I want to be able to click and depending on my selections it creates the comp.
    It sounds like I need some sort of if then statement but I'm having a hard time putting the two together. See below what I have so far.
    There may be parts missing but I have it all working in a decibel pallate currently. I just don't have the functionality tied to a button yet.
    Any help would be much appreciated!!!
    (also I don't know how to format the extend script on here so apologies for that)
    // palette controls
    templateGen.VerticalCheckbox     = new Object();
    templateGen.HorizontalCheckbox    = new Object();
    // define values for the controls
    templateGen.comLookup            = new Object();
    templateGen.compLookup          = 'Template1';
    templateGen.compLookup          = 'Template2';
    templateGen.compLookup          = 'Template3';
    function templateGen_getHashValues(hash)
      var ary = new Array();
      for (k in hash) {
      ary.push(hash[k]);
      return ary;
    // "composition" menu
       var panelGrp1 = templateGen.palette.add('Panel', undefined, 'Comp Templates');
      compGrp1 = panelGrp1.add('group', undefined, 'Templates List');
      compGrp2 = panelGrp1.add('group', undefined, 'Orientation');
      compGrp3 = panelGrp1.add('group', undefined, 'Generate');
      templateGen.compList                                             = compGrp1.add('dropdownlist', LIST_DIMENSIONS, templateGen_getHashValues(bapple.compLookup));
      templateGen.compList.helpTip                                = "Choose the type device template you want here. All comps are 60fps.";
      templateGen.compList.selection                             = 'Template1';
      templateGen.compList.graphics.foregroundColor  = darkColorBrush;
      templateGen.VerticalCheckbox                           = compGrp2.add('checkbox', undefined, 'Vertical');
    templateGen.VerticalCheckbox .value = true;
      templateGen.HorizontalCheckbox                          = compGrp2.add('checkbox', undefined, 'Horizontal');
      templateGen.HorizontalCheckbox .value = false;
    templateGen.generateBtn1      = compGrp3.add('button', undefined, 'Generate');
      //applyBtn.onClick =????;

    When I work with dropdowns I always like to attach the data they represent (like width and height of the comp in this case) directly to the items.
    I didn't execute the code to really check it, but it should work like this:
    // add templates to your dropdown and store the items in an array
    var templates = [];
    templates[0] = templateGen.compList.add('item','template1');
    templates[1] = templateGen.compList.add('item','template2');
    templates[2] = templateGen.compList.add('item','template3');
    // attach a width and height to each item
    templates[0].width= 1280;
    templates[0].height= 720;
    templates[1].width= 1024;
    templates[1].height= 768;
    templates[2].width= 1920;
    templates[2].height= 1080;
    // choose the item that should be selected by default
    templates[0].selected = true;
    applyBtn.onClick = function(){
            // read the width and height from the selected item
            var width = templateGen.compList.selection.width;
            var height =templateGen.compList.selection.height;
            if(templateGen.VerticalCheckbox.value){
                  // swap width and height
                  var temp = width;
                  width = height;
                  height = temp;
            // now create your comp here with the given width and height

  • Fill the second Dropdown List based on user selection

    Hi All,
    I am using Web Services to populate Dropdownlists. This works fine for me.
    I have a table with the column "Core Category" and "SUB Category", "Core Category" can have 1 or more SUB Categories.
    The SQL statement in the Web Service for "Core Category" looks like this: "Select DISTINCT [core category] from table", this returns a list of categories.
    In this example, I want to achieve the following:
    When I select a "Core Category' in the first Dropdownlist, the application fires an event or action to fill the second Dropdownlist "SUB Category" with ONLY values that belongs to the selected "Core Category" in the first Dropdown list.
    Is this possible with Visual Composer? Please let me know how I can achieve this?
    Many Thanks,
    Ridouan

    Hi Ridouan,
    Yes it is possible. [Example of Ship and Engine|http://img146.imageshack.us/img146/2968/shipenginezt9.jpg]. Kindly note there is a web service for getting ship and on basis of ship-id selected, engine is filled, which is also deliverd by web service
    The intial state of application is ship drop down is enabled but not the engine, that gets enabled only when ship is selected.
    Here the steps: Please replace it with your fields:
    1. Place the 2 drown down controls.
    2. For Ship, Select the web service in the dynamic list of the dropdown, remember at runtime, if those input parameters are not valid it will give the data service error, make use of if statement.
    3. Define Store -> shipid, engineid and boolean show_engine  - default false
    4.  Action of ship -> ASSIGN action -> true to show_engine from data store
    5.  Value of ship ->
    =store@SHIP
    6.For engine, Select the web service in the dynamic list of the dropdown, remember at runtime, if those input parameters are not valid it will give the data service error, make use of if statement. Where the paramter for shipid is to be filled
    =IF(store@SHIP!="",UPPER(store@SHIP),"AVRA")
    7. Value of engine ->
    =store@ENGINE
    Let me know, if helps.
    Best regards,
    Dharmi
    Edited by: Dharmi Tanna on Jun 27, 2008 3:23 PM

  • Prepopulate dropdown list based on selections made in other fields

    I wonder if anyone can help?
    A form with a radio button group containing two radio buttons "yes" and "no".
    Below the radio buttons is a dropdown list that has three items in the list "option A, option B, & option C.
    Below that, is another dropdown list, with three items, "10000", "15000" & "20000"
    How can I do the following?
    When radio button "yes" is selected, and dropdown list "option A is selected, it prepopulates "10000" in the bottom dropdown list
    When radio button "yes" is selected, and dropdown list "option B is  selected, it prepopulates "15000" in the bottom dropdown list
    When radio button "yes" is selected, and dropdown list "option C is  selected, it prepopulates "20000" in the bottom dropdown list
    Thanks in advance!

    Hi $Nith$
    Just sent you a PM

  • SSRS report - A single selection dropdown list converted to text box

    Hello everyone,
    We created a single selection dropdown parameter (City parameter) on a report. The data in this parameter is populated using MDX query. Also, it is filtered based on selection of another single selection dropdown list (Country parameter) of a report.
    The problem is when there is no cities for the selected country the dropdown list is gets converted to free type text box and user can insert city data in it. Why SSRS is not keeping it as empty dropdown list with no data?
    Any help would be much appreciated.
    Thanks, Ankit Shah
    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html

    Hello Charlie,
    We developed a fresh report only with two parameters but still the dropdown control gets converted to text box in our case. We have two single selection parameters, Location and Customers. Based on selected Location the customer
    dropdown gets populated.
    Location Parameter Query
    WITH MEMBER [Measures].[ParameterCaption] AS [Location].[Location Name].CURRENTMEMBER.MEMBER_CAPTION MEMBER [Measures].[ParameterValue] AS [Location].[Location Name].CURRENTMEMBER.UNIQUENAME MEMBER
    [Measures].[ParameterLevel] AS [Location].[Location Name].CURRENTMEMBER.LEVEL.ORDINAL
    SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel]} ON COLUMNS , [Location].[Location Name].ALLMEMBERS ON ROWS FROM [Model]
    Customer Query
    WITH MEMBER [Measures].[ParameterCaption] AS
    [Customer].[Customer Name].CURRENTMEMBER.MEMBER_CAPTION
    MEMBER [Measures].[ParameterValue] AS
    [Customer].[Customer Name].CURRENTMEMBER.UNIQUENAME
    MEMBER [Measures].[ParameterLevel] AS [Customer].[Customer Name].CURRENTMEMBER.LEVEL.ORDINAL
    SELECT {[Measures].[ParameterCaption], [Measures].[ParameterValue], [Measures].[ParameterLevel],[Measures].[Amt]} ON COLUMNS,
    nonempty([Customer].[Customer Name].ALLMEMBERS,[Measures].[Amt]) ON ROWS FROM ( SELECT ( STRTOSET(@LocationName, CONSTRAINED) ) ON COLUMNS FROM [Model])
    Regarding parameter settings on General tab for both the above parameters we did not select any of the following values, all these checkboxes are empty:
    Allow Blank Value ("") , Allow null value, Allow multiple values.
    I think it has something related to [Measures].[Amt] that we used in customer parameter. We are now trying to take other two parameters where we would be not using the [Measures].[Amt] to filter the data. Will update you soon.
    Thanks, Ankit Shah
    Inkey Solutions, India.
    Microsoft Certified Business Management Solutions Professionals
    http://www.inkeysolutions.com/MicrosoftDynamicsCRM.html

Maybe you are looking for