Select multiple items using a selection list?

Hi all

In my application, I have a HTML area with two elements of the selection list. According to the first value of the selection list, the second selection list will fill up.

Now I want to show a report based on the second select value list, but I want to select several values in the second selection list. For this, I just activated the multiple selection option in the selection list item.

But when I tried to implement this, the error occurs.

Select multiple items using a selection list? If this is the case, how can I assign these values in the selection list element onchange attribute.

Thank you
David...

A further possible solution to that above with the function of pipeline is to simply use Instr.

Note: This option should be used if the amount of data is small or already filtered by other predicates.

SELECT display_value, return_value
  from xxx
 where INSTR(':'||:P1_MASTER_MULTI_SELECTLIST||':', ':'||parent_value||':') > 0
 order by display_value

BTW, if you use the new attribute "Cascading LOV Parent éléments" in the LOV section and set it to your parent element (in my example P1_MASTER_MULTI_SELECTLIST), the agenda of the child page is automatically updated if the master multi selection list is changed.

Concerning
Patrick

Tags: Database

Similar Questions

  • Select multiple items in a menu list

    I recently picked up a site for someone who asked me to create a list of items for the user to select "How did you find our Web site" I have read the Help menu on DW8 and created a list/menu, etc. But when I check multiple items in the list, it is still only one item in the form that is sent to me. What I am doing wrong?

    www.blessedunions.com/contact.html


    Thank you!

    Here's what fixed it: I changed to individual boxes and change the 'value' of each radio button to "Yes".

  • Show and hide multiple items using wildcards in advanced Actions?

    Is there a way to show or hide multiple items at once by using a wildcard character in advanced Actions?  Ex: Hide all the boxes to click in the presentation that begin with click_ *.

    I'm trying to find a good way to use the same CBT to show me Mode (demo video with audio and no interaction) and the practice Mode (interactive simulation with boxes to click and prompt text box for interactions).

    I saw a few business solutions have the ability to have 1 source file that publishes on multiple formats (demo, simulation, quick guide).  However, they are a little more than 800 $de Captivate.

    Micky

    If I want to create a combination, I capture in all modes search and then copy and paste what I want one of the files? An example, but it's on a Dutch version of my blog, watch movie (power of lightning, hope, that you will always be able to see SWF?):

    http://captivatenederlands.posthaven.com/classic-tutorials

    Lilybiri

    PS as for your original question: no wildcard in advanced actions. You can filter drop-down lists on "click_" and only objects will appear then (in CP6/7) but you will still need a single statement by click box unless you group boxes click on a slide (impossible to group objects sitting on different slides).

  • Impossible to select multiple items in the list box

    I use Acrobat 9.0 Standard.

    I added a list box in the PDF format and I want to give people the ability to select multiple items in the drop-down list. In properties, on the Options tab, I chose 'multiple choice '. But I am unable to make multiple selections despite this. It still only allows me to make a choice.

    Any ideas? Is there some other step I'm missing?

    I need help with this ASAP for my business - any suggestions are appreciated!

    Thank you

    It should do that if you hold down the SHIFT key.

  • How can I select multiple items in the list of the spark without pressing the command?

    Hi all

    I need to change the behavioral list to allow multiple selections by clicking on each item

    In the list, instead of using the control

    30:

    Elazar r

    This blog explains how: http://flexponential.com/2009/12/13/multiple-selection-in-a-spark-list-without-the-control - key /

  • How to select and move more than one bookmark at a time? Shift + click selects multiple items that are next to each other in a list, because the element

    How to select and move more than one bookmark at a time?
    Shift + click selects multiple items that are next to each other in a list, because the items open in firefox before that happens.

    Glad it worked for you. Thanks for posting back.

  • The value of another field using the multiple-selection list

    Hello

    I have a multi select list as USER name name...
    In these cases, I select several users as For example JOHN AND JACK
    Database that should get both their email ID then fill in textarea (separated by commas)

    As I am new to apex, pls help.

    Welcome to this forum... :))

    What is your version of the database?

    If you use database 11g then you can use the following query for your condition,

    select LISTAGG(user_email, ':') WITHIN GROUP (ORDER BY user_email) from table_name
    where INSTR(':'||NVL(:PX_USERNAME,user_name)||':',':'||user_name||':')>0
    

    instead of PX_USERNAME use the name of your multi selection list.

    Use this query in your textfield.

    Thank you
    Lacombe

  • Limit of characters in multiple-selection list

    Hi people,

    Throw this out there to see if anyone has had this problem, and how they may have gotten around him.

    It seems that the Multi Select lists have a limit of 1000 characters, i.e. If you select so many items in the list and its over 1000 characters, you cannot save the file.

    I would like to say that ok we will have to just a few lists rather than a big workaround, but the customer fixed the list up in this way, and now that we create the hypersite to allow them to select items in this list, it's possible they could try on the hypersite select all. Clearly, it seems that we will have to have validation on the website to ensure that they do not select more than 1000 characters of a value of items in the list, but it would be useful if there was a way Eloqua to enable this.

    The one you have any ideas/advice?

    Something is very appreciated.

    Thank you

    Andrew Mc.

    I think the challenge is that the multiple-selection list is already built and already used in other functions.

    Andrew - you're right that to resolve this problem, you would have to update the list in Eloqua (again, just the option values, not the option names) and also the list in SFDC - you are on right track here.

    I hope this helps!

  • Automatic filling of multiple selection based on the selection list

    Hello

    I have a problem in filling multiple selection data in the selection list.
    I would like to take an example and explain.
    I have 3 tables: employee, Department and a link table for employee and department.
    The selection list contains employee and the Department is a multiple selection. Employee selection, all departments must be posted and belongs to the Ministry of which employee (which comes from the binding table) must be selected (high-lighted). How can I do this?

    HI 841762 :),.

    Do not use the 'style' to highlight that you would have found out by now that would make the blue text background while the font color remains black and this will make the text unreadable. Plus if there is a button on the page when you submit it to us, I doubt that it will store the State of the selected items in a multiple of P1_DEPT in session state. then try this...

    In the application process, replace, the status of 'style' that you used to highlight as you...

    ....
    If (rec.R=cnt)then
    htp.prn('');
    ELSE
      htp.prn('');
    end if;
    ...
    

    Then in the JS, use

    appendToSelect(list, l_Opt_Xml.getAttribute('value'), l_Opt_Xml.firstChild.nodeValue,l_Opt_Xml.getAttribute('selected'));
    

    and change the function "appendToSelect".

    function appendToSelect(pSelect, pValue, pContent,pIsSelected) {
    
     var l_Opt = document.createElement("option");
     l_Opt.value = pValue;
    
    if(pIsSelected)
    l_Opt.setAttribute('selected','selected');
    
    if(document.all){
      pSelect.options.add(l_Opt);
      l_Opt.innerText = pContent;
     } else {
      l_Opt.appendChild(document.createTextNode(pContent));
      pSelect.appendChild(l_Opt);
     }
    }
    
  • Multiple selection list

    I have a web form that I need to allow users to select multiple items in a list.  I 'google' and can not find an answer.

    The application has 2 parameters.

    < %

    Dim HoursWorked_PP__varTI

    HoursWorked_PP__varTI = '% '.

    If (Request.QueryString ("TI") <>"") then

    HoursWorked_PP__varTI = Request.QueryString ("TI")

    End If

    % >

    < %

    Dim HoursWorked_PP__varPP

    HoursWorked_PP__varPP = '% '.

    If (Request.QueryString ("PP") <>"") then

    HoursWorked_PP__varPP = Request.QueryString ("PP")

    End If

    % >

    < %
    Dim HoursWorked_PP
    Dim HoursWorked_PP_cmd
    Dim HoursWorked_PP_numRows

    Set HoursWorked_PP_cmd = Server.CreateObject ("ADODB.Command")
    HoursWorked_PP_cmd. ActiveConnection = MM_Connection_STRING
    HoursWorked_PP_cmd.CommandText = "SELECT * FROM dbo.vw_HoursWorked WHERE COLUMN_NAME =? and PP =?

    HoursWorked_PP_cmd. Prepared = true
    HoursWorked_PP_cmd. Parameters.Append HoursWorked_PP_cmd. CreateParameter ("param1", 200, 1, 255, HoursWorked_PP__varTI) ' adVarChar
    HoursWorked_PP_cmd. Parameters.Append HoursWorked_PP_cmd. CreateParameter ("param2", 200, 1, 255, HoursWorked_PP__varPP) ' adVarChar

    Set HoursWorked_PP = HoursWorked_PP_cmd. Run
    HoursWorked_PP_numRows = 0
    % >

    From my research, I tried:

    < %
    WorkedDate = Request.form ("WorkedPP") ' info from a string conversion

    MakeDate = Replace (WorkedDate, ",", "" OR WorkedPP = "" ") ' replace comma-space of a single quote - or WorkedPP = - singlequote
    % >


    < %
    Dim HoursWorked_PP
    Dim HoursWorked_PP_cmd
    Dim HoursWorked_PP_numRows

    Set HoursWorked_PP_cmd = Server.CreateObject ("ADODB.Command")
    HoursWorked_PP_cmd. ActiveConnection = MM_Connection_STRING
    HoursWorked_PP_cmd.CommandText = "SELECT * FROM dbo.vw_HoursWorked_PP_Sum WHERE COLUMN_NAME =? and PP = ' "' & MakeDate &" ' "
    HoursWorked_PP_cmd. Prepared = true
    HoursWorked_PP_cmd. Parameters.Append HoursWorked_PP_cmd. CreateParameter ("param1", 200, 1, 255, HoursWorked_PP__varTI) ' adVarChar
    HoursWorked_PP_cmd. Parameters.Append HoursWorked_PP_cmd. CreateParameter ("param2", 200, 1, 255, HoursWorked_PP__varPP) ' adVarChar

    Set HoursWorked_PP = HoursWorked_PP_cmd. Run
    HoursWorked_PP_numRows = 0
    % >

    Any help or a point in the right direction?  I'm not sure, but I can't find a solution to allow multiple selection lists.  If I change the query to use IN, then the URL string has always tried to use 'AND' so the results are null.

    Thanks for any help!

    Crystal

    WHERE COLUMN_NAME = lamyae and PP IN ("varPP")

    No, what I wanted was that you should analyze varPP and wrap all the values inside quotes. You must also put parens around all this. Therefore, this:

    "option 1, option 2, option3 ' who comes to the selection list is converted to this:

    '(' option1', 'option2', 'option3').

    I posted here a few years ago code to achieve this, but I did not practice routine. See if you can search for it.

  • Select multiple items in an ISelectionList

    I write a jsp page that runs through all the items in a folder, extract content of certain properties and display them to the user. One of the property is a multivalued list.

    Here's the code:


    IContentFactory contentFactory = remoteSession.getContentFactory ();
    IFolderManager folderManager = contentFactory.getFolderManager ();
    IContentItemManager contentItemManager = contentFactory.getContentItemManager ();
    IFolder desiredFolder = folderManager.getFolderByPath ("/ path to the file");
    IContentItem [] contentItems = contentItemManager.getContentItems (desiredFolder);

    for (int i = 0; i < contentItems.length; i ++) {}
    ContentItem IContentItem = contentItems;
    .
    .
    .
    String multiValuedSelectionList = contentItem.getSelectionListPropertyValue (contentItem.getProperty ("multiValuedSelectionList"));
    .
    .
    .
    }

    The problem is the getSelectionListPropertyValue in IContentItem method only returns the first value in the list of choices to multiple values.

    Is there a way I can retrieve all the values? I can do that quite easily in the model of presentation of the Publisher, but there seems to be no obvious way for me to do that via IDK.

    Would be grateful for the help of any IDK gurus out there.

    Thank you.

    Hello

    You are currently experiencing Bug 7804355, where the getSelectionListPropertyValue in IContentItem returns only the first selection, even if the selection list property multiselect option (and several selected items). There is no other way, using the RPC API editor get the necessary information on all the parts.

    One solution is to directly query the database of Publisher for selections. I can't help you create database connection code, but I can give you a query that returns the values. As long as your custom application is not overloading the database with queries, it should be safe.

    SELECT *.
    OF are PCSENUMSELECTED AS INNER JOIN
    PCSDIRECTORY AS dir YOU're. ITEMID is dir. DIRECTORYID INNER
    JOIN THE
    ENT AS PCSENUMENTRIES'RE. ENTRYID = ent. ENTRYID
    WHERE (es. PROPERTYID = 24035) AND (es. ITEMID = 42028)

    For this example, my property ID is 24035 and the content item is 42028. The selected property values are in the ENTRYVALUE column.

    You must open a ticket with support, mentioning the bug number and let them know that you understand this is a bug and that there is no solution at this time. They can associate your case with the bug and the bug gives a more high priority for a future challenge.

  • Region of report filters by using Multi Select lists

    Could someone please advise me accordingly.

    I want to use several multi selection lists to allow a user filter data in a report. I have a button for the user to send the page and apply their selected criteria. In my application I have want to reference the items select direct multi.

    for example

    Select studentid, studentname
    of student_table
    where of course in(:p1_course)
    and the Department (: p1_dept)
    and in the year (: p1_year)
    and... etc etc.

    My attempts to do so to this day, have been in pallets. I was hoping that one of you experts may be able to advise how to do this step by step.

    Thank you

    Steve C

    Hi Steve,.

    The results of the selections multiple lists would be in the format has: b: c (that is to say, the values separated by semicolons), so your WHERE clause must use something like:

    OÙ ' :' || : P1_COURSE | ':' AS ' %:' | COURSE | ':%'

    or

    WHERE INSTR (': ' |: P1_COURSE |) ':', ':' || COURSE | ':') > 0

    Andy

  • Microsoft SQL Server 2014 (SP1 - CU4) (KB3106660) query failed with error ORDER BY items must appear in the select list if SELECT DISTINCT is specified.

    Hello
    I use Microsoft SQL Server 2014 (SP1 - CU4) (KB3106660) Enterprise Edition (64-bit) on Windows NT 6.1 (Build 7601: Service Pack 1)

    SELECT DISTINCT A.PI_LOOKUP_CATEGORY_ID,
    REPLACE (REPLACE (UPPER (A.LOOKUP_CATEGORY_NAME), ' ', '_'), '-', '_') AS CATEGORY_TECH_NAME,
    A.LOOKUP_CATEGORY_NAME,
    A.LOOKUP_CATEGORY_DESCR,
    COUNT (B.PI_LOOKUP_CATEGORY_ID) AS USAGE_COUNT
    FROM [PI_LOOKUP_CATEGORY] A LEFT OUTER JOIN B [PI_INSIGHT_COLUMN] WE
    A.PI_LOOKUP_CATEGORY_ID = B.PI_LOOKUP_CATEGORY_ID
    A.PI_LOOKUP_CATEGORY_ID GROUP,
    REPLACE (REPLACE (UPPER (A.LOOKUP_CATEGORY_NAME), ' ', '_'), '-', '_').
    A.LOOKUP_CATEGORY_NAME,
    A.LOOKUP_CATEGORY_DESCR
    ORDER TO REPLACE (REPLACE (UPPER (A.LOOKUP_CATEGORY_NAME), ' ', '_'), '-', '_')

    above request is failed with error ' ORDER BY items must appear in the select list if SELECT DISTINCT is specified. " Microsoft SQL Server (SP1 - CU4) 2014 (KB3106660)

    same query works fine with older versions of SQL servers like (2008R2, or 2012)

    Please let me know the resolution of this problem...

    Thank you
    Touria

    Ask here:

    MSDN - SQL Server - Microsoft forums

  • BlackBerry smartphones to select multiple items

    How to select multiple items on the storm?

    OK figured it. Only works on the E-mail list. Why would anyone want to select more than one email?

  • Refresh the report area of PL/SQL (not Page) using the value of the select list

    Hello

    I have a report region based on a "body of the PL/SQL function returning a query'which SQL is generated on the selection of a value of an element from the selection list, select action list is"Redirect and set", but this causes the entire page refresh rather than just the region report." I tried to update the report using only a dynamic action on the item list select (Action now reset to 'None'), but now the report does not appear on the choice of the list. Can someone suggest a solution that will allow me to update this report without refreshing the page? I use APEX 4.2.2 and the syntax of the statement is as follows:

    DECLARE

    v_statement VARCHAR2 (500);

    BEGIN

    SELECT query_text
    IN v_statement
    OF sql_queries
    WHERE query_id =: P2_QUERY;

    RETURN v_statement;

    END;

    where P2_QUERY is Select list item,

    Kind regards

    Kevin.

    KevinFitz wrote:

    The displayed report region is subordinate to the point P2_QUERY is NOT NULL. I guess that the region appears not is because the Action for the select list item is set to None, and so P2_QUERY is always NULL.

    No, the region does not appear because it is subordinated to the P2_QUERY being NOT NULL. This means that the region of report never exists on the page displayed in the browser, so it cannot be updated dynamically. (Dynamic updating is not to evaluate the conditions of the region, and she makes only the content of the report, not the whole region again).

    Remove the condition on the region to report, check the update works and then go back on what exactly are the requirements here. If you want to the area appear only when P2_QUERY has a value, and you want it to be regenerated without submitting and reposting of the page, the region must then be hidden rather than conditionally restored and shown via dynamic when action P2_QUERY Gets a value.

    I tried to add a further Action for the event real value DA but has been a mistake, as stated above,

    All irrelevant if Page to submit items on the region is used correctly.

Maybe you are looking for