Multiple filters on a characteristic

Hi;
In my query, i have a filter on 0PLANT - selection option, mandatory, processing type - authorisation.
In addition, i need another filter on '#' - hardcoded.
If i apply this filter and do a check, i get an error - SELOPT / Query variable # does not allow any further selections.
Is there any other way of applying this filter?
Thanks!

Hi,
Try to follow these steps
1) In query designer , goto chararteristics restriction, 0plant -> right click-> restrict->single value-> select "#" and proceed with ok. its not giving any error for me, so I hope it will help
Alternative
2) try to use condition.
Sangita

Similar Messages

  • [WebServcie] How to make multiple Filters in QueryService

    I am a newbie to the BO Development and I encountered some problems when I try to retrieve data from a BO universe. I am trying to create a query with multiple filters, using the web service SDK,  shown as followed:
    //Build a filter     
    QueryCondition boQueryCondition = QueryCondition.Factory.newInstance();               
    Filter boCondFilter = Filter.Factory.newInstance();
    Filter boCondFilter2 = Filter.Factory.newInstance();
    boCondFilter.setFilteredObject(boQueryResultObjects[0]);
    boCondFilter.setFilterOperator(FilterOperator.EQUAL);
    boCondFilter2.setFilteredObject(boQueryResultObjects[2]);
    boCondFilter2.setFilterOperator(FilterOperator.EQUAL);
    Operand[] boConditionValues = new Operand[1];
    Values boFreeValues = Values.Factory.newInstance();               
    String[] boConditionValueString = new String[] {"2005"};
    boFreeValues.setFreeValueArray(boConditionValueString);               
    boCondFilter.setOperandArray(boConditionValues);               
    Operand[] boConditionValues2 = new Operand[1];
    Values boFreeValues2 = Values.Factory.newInstance();               
    String[] boConditionValueString2 = new String[] {"1"};
    boFreeValues2.setFreeValueArray(boConditionValueString2);               
    boConditionValues2[0] = boFreeValues2;
    boCondFilter2.setOperandArray(boConditionValues2);
    ConditionBase[] boConditionBase = new ConditionBase[2];
    boConditionBase[0] = boCondFilter;
    boConditionBase[1] = boCondFilter2;
    boQueryCondition.setItemArray(boConditionBase);
    boQuery.setQueryCondition(boQueryCondition);
    boQuery.setQueryResultArray(boQueryResultObjects);
    boQuerySpec.setQueryBase(boQuery);     
    // Create the query
    ReturnProperties  boRetProp = ReturnProperties.Factory.newInstance();
    boRetProp.setIncludeQuerySpecification(true);
    DataProviderInformation  boDataProviderInfo = boQuerySrv.createDataProvider(boUniverseUID, boQuerySpec, boRetProp);
    String boQueryDocRef = boDataProviderInfo.getDocumentReference();
    The code shows some errors when generating the query.
    DataProviderInformation  boDataProviderInfo = boQuerySrv.createDataProvider(boUniverseUID, boQuerySpec, boRetProp);
    The code goes fine when I was following the steps provided by https://boc.sdn.sap.com/node/18569. However, error occurs when I try implement another filter.
    Please advise if anything goes wrong.
    By the way, I'm writing a Java application where I have to do my own presentation of the data, but I'd like to use BO get the data.
    I am currently having a work routine like this:
    1. Login to BO Enterprise Credential via Java API
    2. Run the QueryService to create a document object
    3. Run the ReportEngine to read the document object and show  the result as a XML.
    4. Parse the XML and retrieve the data.
    It seems that it is quite a stupid way to perform the task. Would you mind advising a better way?
    I have spent quite a lot of time to reading docs to see if WSDL operation provided by QaaWS is suitable for the task but not enough sample can be found.
    Edited by: Thomas Tse on Sep 3, 2008 3:38 AM

    Are you playing all the sounds from the same thread? If so, then a sound won't play until the one before it finishes.

  • Multiple Filtering of Nested Data Set Spry

    Hi,
    I am trying to use multiple filters on a nested data set using Spry but it does not work, no matter how many times I've re-read the code and verified that I'm using the code the right way. What is going on?
    When I use a single non-destructive filter (ie... ds.filter()) on the nested data set, the filter works beautifully. However, when I want to use multiple filters (I use ds.addFilter()), it looks like my filter function (FilterByState) is not being kicked off.
    I linked to the appropriate files, SpryData.js, xpath.js, SpryNestedXMLDataSet.js and SpryDataExtensions.js. These are the latest version, 1.6.1.
    Why will ds.filter work and not ds.addFilter? I haven't written the second filter code yet because this is stopping me from moving forward. Even though, I haven't written that, shouldn't addFilter work too?
    Please help, this is driving me crazy.
    Here is my code:
    <script type="text/javascript">          
         Spry.Utils.addLoadListener(function () {
              if (document.getElementById("stateSelect").selectedIndex != 0) {
                   document.getElementById("stateSelect").selectedIndex = 0;    
              if (document.getElementById("dateSelect").selectedIndex != 0) {
                   document.getElementById("dateSelect").selectedIndex = 0;    
         var dsTopics = new Spry.Data.XMLDataSet("compliance.xml", "compliance/subject", {useCache: false });         
         var dsDocuments = new Spry.Data.NestedXMLDataSet(dsTopics, "doc");
         var dsDates = new Spry.Data.XMLDataSet("compliance.xml", "compliance/subject/doc/date", {useCache: false, subPaths: "@num", distinctOnLoad: true, distinctFieldsOnLoad: ['date'], sortOnLoad: "@num", sortOrderOnLoad:"ascending"});
         dsDates.setColumnType("@num", "number");
         var currentSelection;
         //var FilterByState;
         function showDocuments(currentIndex) {
              dsTopics.setCurrentRowNumber(currentIndex);
              document.getElementById("stateSelect").selectedIndex = 0;
              document.getElementById("dateSelect").selectedIndex = 0;
              dsDocuments.removeAllFilters(true);
         function ToggleFilter(selected, f) {
              chosenState = selected;
              if (selected != "") {
                   alert("something's selected");
                   dsDocuments.addFilter(f, true);
              else {
                   alert("something is NOT selected");
                   dsDocuments.removeFilter(f, true);
              //dsDocuments.applyFilters();
         var chosenState;
         var chosenDate;
         function FilterByState(ds, row, rowNumber) {
              alert("Filtering by state");
              var currentSelection = document.getElementById("stateSelect").options[chosenState];
              if (row["state"].search(currentSelection.value) != -1) {
                   return row;
              else
                   return null;
         function FilterByDate(ds, row, rowNumber) {
              var currentSelectedDate = document.getElementById("dateSelect").options[chosenDate];    
              if (row["date"] == currentSelectedDate)
                   return row;
              else
                   return null;
    </script>
    <div class="articlePage articleContent">
         <h2 class="bodyCopyBold">Compliance Widget</h2>
         <form name="selectForm" action="">
              <div spry:region="dsTopics" id="topicSelector">
                   <label for="topicSelect" class="dataLabel">Topic:</label>
                   <select spry:repeatchildren="dsTopics" class="input" name="topicSelect" id="topicSelect" onchange="showDocuments(this.selectedIndex);">
                        <option spry:if="{ds_RowNumber} == {ds_CurrentRowNumber}" value="{name}" selected="selected">{name}</option>
                        <option spry:if="{ds_RowNumber} != {ds_CurrentRowNumber}" value="{name}">{name}</option>
                   </select>
              </div>
              <label for="stateSelect" class="dataLabel">State:</label>
              <select class="input" name="stateSelect" id="stateSelect" onchange="ToggleFilter(this.selectedIndex, FilterByState);">
                   <option value="" selected="selected">Please Select</option>
                   <option value="All States">All States</option>
                   <option value="AL">Alabama</option>
                   <option value="AK">Alaska</option>
                   <option value="AZ">Arizona</option>
                   <option value="AR">Arkansas</option>
                   <option value="CA">California</option>
                   <option value="CO">Colorado</option>
                   <option value="CT">Connecticut</option>
                   <option value="DE">Delaware</option>
                   <option value="DC">District of Columbia</option>
                   <option value="FL">Florida</option>
                   <option value="GA">Georgia</option>
                   <option value="HI">Hawaii</option>
                   <option value="ID">Idaho</option>
                   <option value="IL">Illinois</option>
                   <option value="IN">Indiana</option>
                   <option value="IA">Iowa</option>
                   <option value="KS">Kansas</option>
                   <option value="KY">Kentucky</option>
                   <option value="LA">Louisiana</option>
                   <option value="ME">Maine</option>
                   <option value="MD">Maryland</option>
                   <option value="MA">Massachusetts</option>
                   <option value="MI">Michigan</option>
                   <option value="MN">Minnesota</option>
                   <option value="MS">Mississippi</option>
                   <option value="MO">Missouri</option>
                   <option value="MT">Montana</option>
                   <option value="NE">Nebraska</option>
                   <option value="NV">Nevada</option>
                   <option value="NH">New Hampshire</option>
                   <option value="NJ">New Jersey</option>
                   <option value="NM">New Mexico</option>
                   <option value="NY">New York</option>
                   <option value="NC">North Carolina</option>
                   <option value="ND">North Dakota</option>
                   <option value="OH">Ohio</option>
                   <option value="OK">Oklahoma</option>
                   <option value="OR">Oregon</option>
                   <option value="PA">Pennsylvania</option>
                   <option value="RI">Rhode Island</option>
                   <option value="SC">South Carolina</option>
                   <option value="SD">South Dakota</option>
                   <option value="TN">Tennessee</option>
                   <option value="TX">Texas</option>
                   <option value="UT">Utah</option>
                   <option value="VT">Vermont</option>
                   <option value="VA">Virginia</option>
                   <option value="WA">Washington</option>
                   <option value="WV">West Virginia</option>
                   <option value="WI">Wisconsin</option>
                   <option value="WY">Wyoming</option>
              </select>
              <div spry:region="dsDates" id="dateSelector">
                   <label for="dateSelect" class="dataLabel">Date:</label>
                   <select class="input" name="dateSelect" id="dateSelect">
                        <option value="" selected="selected">Please Select</option>
                        <option spry:repeat="dsDates" value="{date}">{date}</option>
                   </select>
              </div>         
              <div class="spacer10"></div>
              <div id="documentListing" class="bodyCopy">
                   <ul spry:region="dsDocuments" spry:detailregion="dsTopics" class="list2">
                        <li spry:repeat="dsDocuments">{title}</li>
                   </ul>
              </div>
         </form>
    Here is the xml:
    <?xml version="1.0"?>
    <compliance>
         <subject>
              <name>Agent Termination</name>
              <doc id="91000038">
                   <title>Reminder: Agent Contract Termination Notification</title>
                   <date num="200907">July 2009</date>
                   <state>OR</state>
              </doc>
              <doc id="91000031">
                   <title>Reminder: Agent Contract Termination Notification 2</title>
                   <date num="200807">July 2008</date>
                   <state>OR</state>
              </doc>
              <doc id="91000031">
                   <title>Reminder: Agent Contract Termination Notification 2</title>
                   <date num="201001">January 2010</date>
                   <state>OR</state>
              </doc>
         </subject>
         <subject>    
              <name>Agent Training</name>
              <doc id="91000034">
                   <title>Oregon Agent Retraining</title>
                   <date num="200908">August 2009</date>
                   <state>OR</state>
              </doc>
              <doc id="91000060">
                   <title>Multi-State Corrective Action Plan - Training Courses – BLN Changes</title>
                   <date num="200902">February 2009</date>
                   <state>All States</state>
              </doc>
              <doc id="91000062">
                   <title>Required Training – Change for California Agents</title>
                   <date num="200902">February 2009</date>
                   <state>CA</state>
              </doc>
              <doc id="91000065">
                   <title>Required Training - BCLIC Agents</title>
                   <date num="200902">February 2009</date>
                   <state>NY</state>
              </doc>
              <doc id="91000071">
                   <title>Multi-State Corrective Action Plan - Training Courses – BLN Changes</title>
                   <date num="200901">January 2009</date>
                   <state>All States</state>
              </doc>
              <doc id="91000074">
                   <title>Multi-State Corrective Action Plan - Training Courses – BLN Changes 2</title>
                   <date num="200910">October 2009</date>
                   <state>All States</state>
              </doc>
         </subject>
         <subject>
              <name>Agents Licenses</name>
              <doc id="91000064">
                   <title>Georgia Agent Consent Orders</title>
                   <date num="200902">February 2009</date>
                   <state>GA</state>
              </doc>
              <doc id="91000066">
                   <title>New York State Correction Law</title>
                   <date num="200902">February 2009</date>
                   <state>NY</state>
              </doc>
         </subject>
         <subject>
              <name>DNC</name>
              <doc id="91000063">
                   <title>States Prohibit Unsolicited Calls</title>
                   <date num="200902">February 2009</date>
                   <state>AL, LA, RI, UT</state>
              </doc>
         </subject>
         <subject>
              <name>LTC Partnership</name>
              <doc id="91000056">
                   <title>Alabama Long Term Care and Long Term Care Partnership Compliance</title>
                   <date num="200903">March 2009</date>
                   <state>AL</state>
              </doc>
         </subject>
    </compliance>
    Thanks

    Hi Marlene,
    It isn't working right because you have a bug in your
    onchange attribute for your select:
    <select id="test"
    onChange="ds1.setCurrentRow(this.selectedIndex);">
    <option spry:repeat="ds1"
    id="{ds_RowID}">{@id}</option>
    </select>
    setCurrentRow() takes a rowID not a rowNumber. The
    "selectedIndex" of the select element is the equivalent of a row
    number, so if you want to change the current row by row number then
    use setCurrentRowNumber() instead:
    <select id="test"
    onChange="ds1.setCurrentRowNumber(this.selectedIndex);">
    <option spry:repeat="ds1"
    id="{ds_RowID}">{@id}</option>
    </select>
    After you make that change, you will see that things work as
    expected.
    --== Kin ==--

  • Multiple Filters Mode Checkboxes = Drop-Down Menu

    How to change the Multiple Filters Mode Checkboxes to the Drop-Down Menu?
    Here ist a adobe-lab-example:
    http://labs.adobe.com/technologies/spry/samples/data_region/MultipleFiltersModeSample.html
    The idea is a spry-dataset with 3 Multiple Filter Mode Drop-Down Menu's.
    As example:
    the first Drop-Down Menu with "None", "Glazed", "Sugar"
    the second with "Powdered Sugar", "Chocolate with Sprinkles"
    the third with "Chocolate", "Maple"
    Thanks

    This will get you started
    <!DOCTYPE HTML>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <title>Untitled Document</title>
    <script src="SpryAssets/xpath.js"></script>
    <script src="SpryAssets/SpryData.js"></script>
    <script src="SpryAssets/SpryDataExtensions.js"></script>
    <script>
    var dsMusic = new Spry.Data.XMLDataSet("alles.xml", "state/cities/city");
    function ff20er(ds, row, index){ var c = row.jahr.charAt(0); var d = row.jahr.charAt(2); return c == 1 && d == 2 ? row : null; };
    function ff30er(ds, row, index){ var c = row.jahr.charAt(0); var d = row.jahr.charAt(2); return c == 1 && d == 3 ? row : null; };
    function ff40er(ds, row, index){ var c = row.jahr.charAt(0); var d = row.jahr.charAt(2); return c == 1 && d == 4 ? row : null; };
    function ff50er(ds, row, index){ var c = row.jahr.charAt(0); var d = row.jahr.charAt(2); return c == 1 && d == 5 ? row : null; };
    function ff60er(ds, row, index){ var c = row.jahr.charAt(0); var d = row.jahr.charAt(2); return c == 1 && d == 6 ? row : null; };
    function ff70er(ds, row, index){ var c = row.jahr.charAt(0); var d = row.jahr.charAt(2); return c == 1 && d == 7 ? row : null; };
    function ff80er(ds, row, index){ var c = row.jahr.charAt(0); var d = row.jahr.charAt(2); return c == 1 && d == 8 ? row : null; };
    function ff90er(ds, row, index){ var c = row.jahr.charAt(0); var d = row.jahr.charAt(2); return c == 1 && d == 9 ? row : null; };
    function ff2000er(ds, row, index){ var c = row.jahr.charAt(0); var d = row.jahr.charAt(2); return c == 2 && d >= 0 ? row : null; };
    function ZeitFilter(f) {
        dsMusic.removeAllFilters(true);
        if (f=='ff20er') dsMusic.addFilter(ff20er, true);
        if (f=='ff30er') dsMusic.addFilter(ff30er, true);
        if (f=='ff40er') dsMusic.addFilter(ff40er, true);
        if (f=='ff50er') dsMusic.addFilter(ff50er, true);
        if (f=='ff60er') dsMusic.addFilter(ff60er, true);
        if (f=='ff70er') dsMusic.addFilter(ff70er, true);
        if (f=='ff80er') dsMusic.addFilter(ff80er, true);
        if (f=='ff90er') dsMusic.addFilter(ff90er, true);
        if (f=='ff2000er') dsMusic.addFilter(ff2000er, true);
    </script>
    </head>
    <body>
    <select onchange="ZeitFilter(this.value);">
      <option value="" selected="selected">Zeit:</option>
      <option value="ff20er">20er</option>
      <option value="ff30er">30er</option>
      <option value="ff40er">40er</option>
      <option value="ff50er">50er</option>
      <option value="ff60er">60er</option>
      <option value="ff70er">70er</option>
      <option value="ff80er">80er</option>
      <option value="ff90er">90er</option>
      <option value="ff2000er">ab 2000</option>
    </select>
    <div spry:region="dsMusic">
      <table>
        <tr>
          <th spry:sort="name">Name</th>
          <th spry:sort="category">Category</th>
          <th spry:sort="jahr">Jahr</th>
          <th spry:sort="lang">Lang</th>
        </tr>
        <tr spry:repeat="dsMusic">
          <td>{name}</td>
          <td>{category}</td>
          <td>{jahr}</td>
          <td>{lang}</td>
        </tr>
      </table>
    </div>
    </body>
    </html>
    It will still need some tweeking when you add the other filters.
    For some reason, IE did not show the data, haven't worked out why yet, but FF no problem.
    Cheers

  • Multiple Filters in a Generic ldap Search.

    Hi all,
    'am involved in developing a generic ldap search utility. I would like to know if there is a provision to give multiple filters while searching the LDAP.
    The scenario is like this,
    like if i give the search criteria as java ldapSearch "empid=111*" I will get a series of results.
    WHAT I WANT:
    Will i be able to specify something like empid=11* and lastname=xxx*.
    Any pointers on this would be of tremendous help.
    Anticipating a reply.
    Regards,
    Sathya Sayee.S

    You can use | as 'or condition'. For example the condition
    sn=foo and (email=[email protected] or email=[email protected])
    (&(sn=foo) (|(email=[email protected]) (email=[email protected]))
    the operator are :
    AND : &
    OR : |
    NOT : !
    the notation works as HP calculator notation
    Simon Pierre NOLIN

  • Using multiple filters

    Is it possible to use multiple filters (some of same type)? I want to restrict the SCO content to just courses and curriculums only, how would I do that? When I try to use two filter-type filters, it uses the last one only.

    Hello Dear,
    I have try with this api/xml?action=sco-expanded-contents&sco-id=#####&filter-type=content&filter-icon=attachm ent&filter- folder-id=######
    and this is working for me.
    Note:-##### @ here need to add your stuff
    Hope this one help to you in further process.
    Good luck.

  • Is it possibe to define a badi with multiple filters for single implementation ?

    is it possible to have a badi with multiple filters in one implmentation?

    Hello Siva,
             There is no hierarchical concept in filter values. You can have multiple filter values and at any time you can pass only one filter value while invoking Badi.
    The concept of hierarchy can be implemented by combination of filter and methods.
    1. You can have filter as the first level and have multiple filters.
    2. Then you can define methods in Badi and this now  becomes 2 level.
    Thanks and Regards,
    Veera

  • About Multiple Filters ?

    This is my xml file.  I Searched this page about http://labs.adobe.com/technologies/spry/samples/data_region/MultipleFiltersSample.html  Multiple Filters, but in this sample, it's also inculde filter_out,
    Now i want filter in, it's mean, in my xml file, i want use a checkbox, to keep '121212','979797' ,and filter out '545454', '525252'.
    function Filter1(ds, row, index){ var c = row.Comp_ID.??????????????????? }; Any one can help me?
    <Row>
    <Comp_ID>121212</Comp_ID>
    </Row>
    <Row>
    <Comp_ID>545454</Comp_ID>
    </Row>
    <Row>
    <Comp_ID>979797</Comp_ID>
    </Row>
    <Row>
    <Comp_ID>525252</Comp_ID>
    </Row>

    So, let me add the step to this that specifically is not working.  Let's add to this the fact that to the Material of Truck, there are attached Warranties and Service Contracts (Truck is part of an equipment master).  So, now I want all Red Trucks which have a Warranty expiring this month AND no Service Contract.  To further explain, the equipment master has a Type (Truck), and either a Warranty or Contract attached to it (either, both, or neither).  So I want to use the AND to identify Trucks that have no Warranty or and expiring one, AND Trucks that have no Service Contract.  I only want Trucks that meet both conditions at the same time.
    In our testing, we have found that using the AND with the KEEP functionality it works in all cases EXCEPT when someone owns more than one Truck.  For example, lets say Bob owns two Trucks, one has no Warranty but a Service Contract, and the other Truck has a Warranty, but no Service Contract.  In this case, Bob should not show up in the Target Group because he does not own a Truck that has no Warranty AND no Service Contract.  However, because he shows up in the no Warranty target group for one Truck, and the no Service Contract target group for the other Truck, when you do a KEEP you get Bob in the final Target Group.  Is there any way to find just Trucks that have both no Warranty and no Service Contract?
    Thanks, Bryan

  • CS3: Unable to add multiple filters to FindFirstFile

    Hi All,
    Is anyone know, how to pass multiple filters to the function FindFirstFile. If I use "*.*" as a filter then it searches all fles and folders, but I am interested in search all images (like .png, .tiff, .ico, .gif, .jpeg).
    Thanks,
    Praveen Mamdge

    Multiple effects are not supported in the current version of iPhoto for iOS.
    See my response in this thread: https://discussions.apple.com/thread/3826301

  • Handle request.setCharacterEncoding among multiple filters

    Hi,
    My application handles multiple filters and these filters called alternatively based on url-pattern. But I want to make sure request.setCharacterEncoding was set start of each filter.
    How can I do this?? I dont want to use head filter because that will increase my filters count.
    I would appriciate if you suggest me some ideas on it.

    Is that any way i can get set done on web.xml??

  • Multiple Hierarchies on single characteristic in BEx

    In BEx 3.5 Is there a way to display multiple hierarchies/groups on one characteristic? For example, reporting by a Cost Element with several child hierarchy subgroups from differnt parents. An orphanage if you will.
    I try that and the fisrt group displays but the rest are in Not Assigned area.

    Thanks. That's what I was afraid of. I'm finding that to be true as well. I tried building a custom hierarchy based on sub-groups of other hierarchies. Not possible either. That would be a nice feature to have, so that the sub-groups are maintianed as they are from the source.

  • Multiple Filters Mode Problem

    I have been trying to implement the Multiple Non-Destructive Filters Mode sample at http://labs.adobe.com/technologies/spry/samples/data_region/MultipleFiltersModeSample.html but just cannot get it to work, although the data shows and is sort of sortable (that will be my next query as if you click on 'Opposition' it does not sort it alphabetically but I think that may be to do with column types).
    I simply copied the codes from the example and changed the function names, row names and dataset names to suit my needs but neither of the filters work.
    The file that it is used in is http://www.margate-fc.com/reserves/resfixres0910.php and the dataset is in http://www.margate-fc.com/reserves/resfixres.html.
    My <Head> script for the dataset is
    <script type="text/javascript">
    <!--
    var ReservesFix0910 = new Spry.Data.HTMLDataSet("resfixres.html", "resfixres", {sortOnLoad: "MatchNo", sortOrderOnLoad: "ascending"});
    ReservesFix0910.setColumnType("MatchNo", "number"), ReservesFix0910.setColumnType("Date", "date");
    function ffLGE(ds, row, index){ return (row.Comp == "LGE") ? row : null; };
    function ffKIC(ds, row, index){ return (row.Comp == "KIC") ? row : null; };
    function ToggleFilter(enable, f)
    if (enable)
    ReservesFix0910.addFilter(f, true);
    else
    ReservesFix0910.removeFilter(f, true);
    function RemoveAllFilters()
    document.forms[0]["LGECB"].checked = false;
    document.forms[0]["KICCB"].checked = false;
    ReservesFix0910.removeAllFilters(true);
    //-->
    </script>
    And the code for the data is
    <div>
        <form action="">
    <p>
      <label>
        <input name="LGECB" type="checkbox" value="" onclick="ToggleFilter(this.checked, ffLGE);" />
        League</label>
      <label>
        <input name="KICCB" type="checkbox" value="" onclick="ToggleFilter(this.checked, ffKIC);" />
        Kent Intermediate Cup</label>
    </p>
    <p><label>Filter Mode: <select onchange="ReservesFix0910.setFilterMode(this.value, true);"><option value="and" selected="selected">-- AND --</option><option value="or">-- OR --</option></select></label>
    <input type="button" value="Remove All Filters" onclick="RemoveAllFilters();" /></p>
    </form>
        <div spry:region="ReservesFix0910">
        <table>
          <tr>
            <th spry:sort="Date">Date</th>
            <th spry:sort="Comp">Comp</th>
            <th spry:sort="H/A">H/A</th>
            <th spry:sort="Opposition">Opposition</th>
            <th spry:sort="Res">Res</th>
            <th spry:sort="F">F</th>
            <th spry:sort="column7"> </th>
            <th spry:sort="A">A</th>
          </tr>
          <tr spry:repeat="ReservesFix0910">
            <td>{Date}</td>
            <td>{Comp}</td>
            <td>{H/A}</td>
            <td>{Opposition}</td>
            <td>{Res}</td>
            <td>{F}</td>
            <td>{column7}</td>
            <td>{A}</td>
          </tr>
        </table>
      </div></div>
    I am assuming that I am missing something very simple that is stopping this working. Even when I found a rogue dsDonuts reference from the original code still in mine and changed it nothing worked and I am pretty sure that all the code is now referencing my files and datasets.
    Do I need to use anything else such as xpaths to make this work? I noticed that the sample had and xpaths reference and was linked to an xpaths js file so perhaps that is needed as well but am not sure how I would implement it.
    Thanks in advance for any advice.
    Steve.

    I have been trying to implement the Multiple Non-Destructive Filters Mode sample at http://labs.adobe.com/technologies/spry/samples/data_region/MultipleFiltersModeSample.html but just cannot get it to work, although the data shows and is sort of sortable (that will be my next query as if you click on 'Opposition' it does not sort it alphabetically but I think that may be to do with column types).
    I simply copied the codes from the example and changed the function names, row names and dataset names to suit my needs but neither of the filters work.
    The file that it is used in is http://www.margate-fc.com/reserves/resfixres0910.php and the dataset is in http://www.margate-fc.com/reserves/resfixres.html.
    My <Head> script for the dataset is
    <script type="text/javascript">
    <!--
    var ReservesFix0910 = new Spry.Data.HTMLDataSet("resfixres.html", "resfixres", {sortOnLoad: "MatchNo", sortOrderOnLoad: "ascending"});
    ReservesFix0910.setColumnType("MatchNo", "number"), ReservesFix0910.setColumnType("Date", "date");
    function ffLGE(ds, row, index){ return (row.Comp == "LGE") ? row : null; };
    function ffKIC(ds, row, index){ return (row.Comp == "KIC") ? row : null; };
    function ToggleFilter(enable, f)
    if (enable)
    ReservesFix0910.addFilter(f, true);
    else
    ReservesFix0910.removeFilter(f, true);
    function RemoveAllFilters()
    document.forms[0]["LGECB"].checked = false;
    document.forms[0]["KICCB"].checked = false;
    ReservesFix0910.removeAllFilters(true);
    //-->
    </script>
    And the code for the data is
    <div>
        <form action="">
    <p>
      <label>
        <input name="LGECB" type="checkbox" value="" onclick="ToggleFilter(this.checked, ffLGE);" />
        League</label>
      <label>
        <input name="KICCB" type="checkbox" value="" onclick="ToggleFilter(this.checked, ffKIC);" />
        Kent Intermediate Cup</label>
    </p>
    <p><label>Filter Mode: <select onchange="ReservesFix0910.setFilterMode(this.value, true);"><option value="and" selected="selected">-- AND --</option><option value="or">-- OR --</option></select></label>
    <input type="button" value="Remove All Filters" onclick="RemoveAllFilters();" /></p>
    </form>
        <div spry:region="ReservesFix0910">
        <table>
          <tr>
            <th spry:sort="Date">Date</th>
            <th spry:sort="Comp">Comp</th>
            <th spry:sort="H/A">H/A</th>
            <th spry:sort="Opposition">Opposition</th>
            <th spry:sort="Res">Res</th>
            <th spry:sort="F">F</th>
            <th spry:sort="column7"> </th>
            <th spry:sort="A">A</th>
          </tr>
          <tr spry:repeat="ReservesFix0910">
            <td>{Date}</td>
            <td>{Comp}</td>
            <td>{H/A}</td>
            <td>{Opposition}</td>
            <td>{Res}</td>
            <td>{F}</td>
            <td>{column7}</td>
            <td>{A}</td>
          </tr>
        </table>
      </div></div>
    I am assuming that I am missing something very simple that is stopping this working. Even when I found a rogue dsDonuts reference from the original code still in mine and changed it nothing worked and I am pretty sure that all the code is now referencing my files and datasets.
    Do I need to use anything else such as xpaths to make this work? I noticed that the sample had and xpaths reference and was linked to an xpaths js file so perhaps that is needed as well but am not sure how I would implement it.
    Thanks in advance for any advice.
    Steve.

  • Multiple Single Values in Characteristic Variable

    Hi,
    I set up a characteristic variable in the Query Designer and opt for "multiple single values" . When I execute the query, the variable dialog box does not give me those check boxes which I can use to check which values I want to see in the report.
    How come? Can you help me with that?
    Thanks,
    Sabine

    Hi Sabine.
    Did you remember to set the variable processing type as a user entry?
    In the query designer do you see the characteristic restricted to a variable?
    BR
    Stefan

  • How do you add multiple filters with checkboxes to an arrayCollection?

    hey guys... so i have three checkboxes and when i click one of them i need to filter out my array collection according to which ones are clicked
    I have the filter function working partially, but when i select multiple checkboxes i dont see anything in the arraycollection.
    the code i have is
    <s:VGroup x="-100" y="400">
         <mx:HRule />
         <s:CheckBox label="Approved Stories" color="#333333" selected="@{_approved}" change="filterChanged()" />
         <s:CheckBox label="Rejected Stories" color="#0184C7" selected="@{_rejected}" change="filterChanged()" />
         <s:CheckBox label="Pending Stories" color="#50C8E8" selected="@{_pending}" change="filterChanged()" />
    </s:VGroup>
    <s:DataGroup width="100%" height="100%" clipAndEnableScrolling="true" dataProvider="{filteredStoryDataArr}" click="itemClicked();">
    </s:DataGroup>
    private function returnesAllStories(event:ResultEvent):void{
         for each(var item:Object in event.result){
              storyDataArr.addItem(item);
         filteredStoryDataArr = new ArrayCollection(storyDataArr.source);
         filteredStoryDataArr.filterFunction = storyFilter;
    public function storyFilter(item:Object):Boolean
         return    (!_approved || ((item.ApprovedBy > 0) && (item.DateApproved != ""))) &&
                (!_pending || ((item.ApprovedBy == -1) && (item.DateApproved == ""))) &&
                (!_rejected || ((item.ApprovedBy == 0) || (isNaN(item.ApprovedBy))));
    public function filterChanged():void{
         filteredStoryDataArr.refresh();
    right now if i click approved i see all the approved stories, or if i check pending, i see all the pending stories.... but if i check pending and rejected, i dont see anythign in the list... any ideas how to fix that???

    there is no built-in way to do this. the only way i know is by using Mail Scripts
    http://homepage.mac.com/aamann/Mail_Scripts.html
    it has a script "Add addresses" that does just what you want.

  • How do you add multiple filters to an arrayCollection?

    hey guys... so i have three checkboxes and when i click one of them i need to filter out my array collection according to which ones are clicked
    I have the filter function working partially, but when i select multiple checkboxes i dont see anything in the arraycollection.
    the code i have is
    <s:VGroup x="-100" y="400">
         <mx:HRule />
         <s:CheckBox label="Approved Stories" color="#333333" selected="@{_approved}" change="filterChanged()" />
         <s:CheckBox label="Rejected Stories" color="#0184C7" selected="@{_rejected}" change="filterChanged()" />
         <s:CheckBox label="Pending Stories" color="#50C8E8" selected="@{_pending}" change="filterChanged()" />
    </s:VGroup>
    <s:DataGroup width="100%" height="100%" clipAndEnableScrolling="true" dataProvider="{filteredStoryDataArr}" click="itemClicked();">
    </s:DataGroup>
    private function returnesAllStories(event:ResultEvent):void{
         for each(var item:Object in event.result){
              storyDataArr.addItem(item);
         filteredStoryDataArr = new ArrayCollection(storyDataArr.source);
         filteredStoryDataArr.filterFunction = storyFilter;
    public function storyFilter(item:Object):Boolean
         return    (!_approved || ((item.ApprovedBy > 0) && (item.DateApproved != ""))) &&
                (!_pending || ((item.ApprovedBy == -1) && (item.DateApproved == ""))) &&
                (!_rejected || ((item.ApprovedBy == 0) || (isNaN(item.ApprovedBy))));
    public function filterChanged():void{
         filteredStoryDataArr.refresh();
    right now if i click approved i see all the approved stories, or if i check pending, i see all the pending stories.... but if i check pending and rejected, i dont see anythign in the list... any ideas how to fix that???

    Jer&Renee,
    welcome to Apple Discussions.
    It depends where you want them in your presentation.
    Open the Media inspector and choose a playlist. In the list of entries, mark those you want to add to Keynote (use command-click to mark multiple titles not in one block).
    Then drag the marked titles either on a slide or on the small Audio field (looks like a frame) in Document inspector. When you then hover the cursor at the Audio "frame", you'll see the quick info "Multiple Files". You cannot change the order or remove one of the files, but only all of them.

Maybe you are looking for