How to get a selected list of a shuttle to a textfield (separated by commas) in the apex?

Hello

I use apex 5.

I used the shuttle to load the list of values of SQL query.now I want to get the list of the selected values on the right side of the shuttle to a textfield.values should be separated by commas.

Please someone tell me how to do this.

Thank you

Hi geslin,.

Garza says:

I use apex 5.

I used the shuttle to load the list of values of SQL query.now I want to get the list of the selected values on the right side of the shuttle to a textfield.values should be separated by commas.

Please someone tell me how to do this.

You can do it by using dynamic action.

Create a dynamic action on the onchange event of your Shuttle point (say P1_SHUTTLE) to get the values to select in the text element (say P1_TEXT) as follows:

Name: give a name

Event: change

Selection type: item (s)

Article (s): P1_SHUTTLE (select your Shuttle point)

Condition: is not null

Action: Execute the PL/SQL Code

Fire on loading the Page: No.

PL/SQL code

BEGIN
  :P1_TEXT := REPLACE(:P1_SHUTTLE,':',',');
END;

Page items to submit: P1_SHUTTLE

Page referred to return: P1_TEXT

Kind regards

Kiran

Tags: Database

Similar Questions

  • How to get my serial number for Acrobat DC std to install? I have only the number of contract!

    How to get my serial number for Acrobat DC std to install? I have only the number of contract!

    Hello

    You can find serial number here sign in French - Adobe ID . Please make sure you sign in with your Adobe under which you purchased Adobe Acrobat DC Standard ID.

    See this KB doc for help: find the serial number of your product Adobe quickly

    Let us know if you need help.

    Kind regards

    Meenakshi

  • How to print a selection of an image in photoshop CC, I have problems because in the print window does not display the full image and the printed only a section of what I SELECTED

    How to print a selection of an image in photoshop CC, I have problems because in the print window does not display the full image and the printed only a section of what I SELECTED

    Hi jodepepevalentin,

    In the print menu, check "scale to fit media" under the Position and size of the device and then check out.

    If you want the area selected for printing, check "Print selected area" under the Position and size and specify the size.

    Kind regards

    Claes

  • How to get started using offline file "acrobat_reference.pdf" from in Acrobat Pro DC, preferably in the Help menu?

    How to get started using offline file "acrobat_reference.pdf" from in Acrobat Pro DC, preferably in the Help menu?

    You create a JavaScript script like this.  It has two platforms, but available in JavaScript, but I have commented out the windows because it's from my Mac.  Also note that I've hidden the menu default Acrobat help item in this JavaScript.

    /************************* Hide Menu ********************************/

    Hide the default Help menu

    app.hideMenuItem ("HelpAcrobat");

    / * Menus execution * /.

    app.addMenuItem ({cName: 'Adobe Acrobat help PDF', cParent: 'Help', cExec: "fTDocs1()", NPO: 0});

    /***************************** Functions ************************************/

    Note: The ' / C/Program Files/Adobe / ' convention was used to conform to the

    SDK Adobe format but the installer does not you may need to

    Change the path to your system.

    Mac OS X

    function fTDocs1()

    {app.openDoc ("/ Applications/Adobe Acrobat XI Pro/Help/acrobat_reference.pdf") ;}} ;

    This section is commented

    64-bit Windows

    function fTDocs1()

    {app.openDoc("/C/Program Files (x 86) / Adobe/Acrobat DC/Acrobat/Javascripts/acrobat_reference.pdf') ;};}

  • my standard drawing tools in a given paper seem to be stuck in some kind of preset isometric drawing. someone knows how to get back to 'normal '. my cursor has a cross and an arrow pointing to the left.

    Hoping that this is easy. my standard drawing tools in a given paper seem to be stuck in some kind of preset isometric drawing. someone knows how to get back to 'normal '. my cursor has a cross and an arrow pointing to the left.

    disable the perspective grid. Shift + ctrl + I

  • How to get a selection of drop-down list to complete another field with nothing

    Hello

    I have a drop down menu that fills another field according to what is selected (as shown here where Admin mistakes fills the next field with 6735-10-01).

    Capture-1.JPG

    However, there are 3 items in the drop-down list that I don't want to fill in the other with (basically, it must be empty during one of these 3 elements are selected, in contrast to how it returns zero in the example below). I don't know what to put in for the values to make it white.

    Capture-2.JPG

    Please notify.

    Kind regards

    ZeroZone

    I don't know what your code looks like or where it is but you will need to add a conditional statement, such as:

    If (DropDown.rawValue == "0" | ") DropDown.rawValue == "1" / * | "" etc, etc, * /)

    TextField.rawValue = null;

    on the other

    TextField.rawValue = DropDown.rawValue;

    Kyle

  • LOV SQL: How to configure a selection list to get all the records

    Hello

    I use Oracle 10 g with APEX 2.0.

    Here's my question:

    I have a report and I use 3 text fields and a selection list to search in a join of two tables. The selection list is composed of a "list of values" and the parameter is used in the SQL sentence, has a numerical value.

    Table of results after the join operation looks like this:
    Field1 Field2 Field3 Field4 (assuming that the field3 is used in the select list).
    21 has this NL 1000
    21 bis as 1001-vb
    33 so 1012 ct

    What I want to do is put another pair of the value of the parameter in the select list to let the user choose the "ALL" items mentioned in the selection list, so that the search returns all records without taking this select list-field into account.

    Is it possible to do it with SQL and LOV? Do I need other functions? or configurations?

    Thanks in advance,

    Sedef

    Hi user630478!

    I always use a selection with submit list and the option to get a NULL value for such things. To solve your problem do the following:

    1.) create two named LOVs. As you have already done and another for all values.
    2.) to submit your selection list must be configured to display a NULL value e.g. it shows EVERYTHING with the value 0.
    3.) create two conditional branches that work with your selection list. Which show normal results, if a user has clicked on a normal value and the second should act only if a user has clicked on the WHOLE.
    4.) write a process triggering the LOVs in your selection from one to the other list. This process should only be fired if the second conditional branch has been activated.

    As I understand it that's maybe what you want to know.

    Yours sincerely

  • Citing ContactList: How to get a selected contact?

    I'm trying to get a contact from a contact list after the user selects OR adds.  I would of course, this is as transparent as possible with the BB interface.  In another thread, someone suggested I try invoking the application of address BB to do this book, and of course that seemed like a good idea.

    I can call it in the application and I can get the notification when the user ADDS a contact, but I can't find any way to be informed when the user simply SELECTS a contact.  Also, once the contact is added (or, if all goes well, selected), it is not possible for me to put an end to the address book application.  Anyone done this kind of thing, or is it not, basically, to do?

    TIA,

    Allen

    Does that help?

    How - to launch address book and return a contact
    Article number: DB-00151
    http://www.BlackBerry.com/knowledgecenterpublic/livelink.exe/fetch/2000/348583/800332/800363/How_To _...

  • How to filter a selection list

    I have several lists of selection.  All have FKs in the parent table.  The relationship of the tables is the following:

    BLDG - < ROOMS - < LOCATIONS - < POSITIONS

    ROOMS have a FK to buildings, PLACES a FK to ROOMS and POSITIONED a CF for LOCATIONS

    I have a form where the user will enter their selection for each attribute, and I want the ROOM list only see the room in the selected building, LOCATIONS in the ROOM chosen, etc.

    The selection list is defined as:

    Select room_number d, room_id r

    ROOMS

    where bldg._id =: P2_BLDG_ID

    P2 is the page where the user enters data.  All lists, follow the above format and the corresponding value of FK.

    When I test data entry any of the lists to return all data.  I guess that's because the corresponding value of the page has the value null when the page opens, and the list is not updated when the user makes the corresponding selection.  How can I get APEX to fill the lists once the user makes a selection of the corresponding value of parent?

    2785699 wrote:

    I have several lists of selection.  All have FKs in the parent table.  The relationship of the tables is the following:

    BLDG-<><><>

    ROOMS have a FK to buildings, PLACES a FK to ROOMS and POSITIONED a CF for LOCATIONS

    I have a form where the user will enter their selection for each attribute, and I want the ROOM list only see the room in the selected building, LOCATIONS in the ROOM chosen, etc.

    The selection list is defined as:

    Select room_number d, room_id r

    ROOMS

    where bldg._id =: P2_BLDG_ID

    P2 is the page where the user enters data.  All lists, follow the above format and the corresponding value of FK.

    When I test data entry any of the lists to return all data.  I guess that's because the corresponding value of the page has the value null when the page opens, and the list is not updated when the user makes the corresponding selection.  How can I get APEX to fill the lists once the user makes a selection of the corresponding value of parent?

    Cascading selection lists are covered in the documentation.

  • How to deletions has selected list item from a list item.

    How delete a list item selected in a list item.

    My question that I should write to list_index so that it indicates the selected list item

    DELETE_LIST_ELEMENT (Nom_liste, list_index);

    -----
    Form of Oracle 10g

    Hello

    The trigger when-list-changed fires whenever the value has been changed.
    You get this value/index with the following:

    DECLARE
       LC$Liste  Varchar2(61) := :system.cursor_item ;
       LC$Valeur Varchar2(30) := Name_In( LC$Liste ) ;
       LN$Nbre   Pls_integer ;
    BEGIN
    
       LN$Nbre := Get_List_Element_Count( LC$Liste ) ;
    
       For i IN 1 .. LN$Nbre Loop
          If Get_List_Element_Value( LC$Liste, i ) = LC$Valeur Then
             -- you get the selected value, and index there --
             :BLOC2.LABEL := Get_List_Element_Label( LC$Liste, i ) ;
             Exit ;
          End if ;
       End loop ;
    
    END;
    

    François

  • How to call parameter (selection list) in the box

    Place of auto-refresh on the browser by clicking the check box,

    Attributes page, Javascript, function and declaration of global variables

    var gtReloadPage;

    "autorefresh" dynamic action

    2 real actions:

    Run the PLSQL code

    null;

    Page items to submit: P1_CHECK_BOX
    Fire on loading the page: CHECKED

    Execute javascript code

    Alert ('ok - timeout parameter');
    gtReloadPage = setTimeout ("location.reload (true);", 8000);

    Fire on loading the page: CHECKED

    2 false actions:

    Run the PLSQL code

    null;

    Page items to submit: P1_CHECK_BOX
    Fire on loading the page: UNCHECKED

    Execute javascript code

    clearTimeout() (gtReloadPage);
    Alert ("timeout has been deleted!");


    Fire on loading the page: UNCHECKED

    It works very well...

    However, the requirement was that the user must enter the time accroding to its page e.g. obligation to refresh after the selected time from the selection list.
    for this I created the name P1_time_select of the selection with the static value list ('1 min round trip = 60000', '5 min round trip = 300000 ") and I call the javascript in code of dynamic action that has been created, as
    gtReloadPage = setTimeout ("location.reload (true);",: P1_time_select);
    but it's not working. Guide please how do I call the selection list in the box to auto refresh

    created for example on apex.oracle.com
    http://Apex.Oracle.com/pls/Apex/f?p=124545:1:13858430141379:

    workspace: SIRAF
    username: [email protected]
    password: 9469471

    Published by: JohnMackanzi on 7 November 2012 22:29

    Hello

    If you want to access the list of selection within the javascript code value, use $x('ITEM_NAME').value

        gtReloadPage = setTimeout("location.reload(true);",$x('P1_SELECT_LIST').value);
    

    Hope this helps, Mimi

  • How to use a Select list on a second primary key column in a tabular presentation?

    Hello

    I created a tabular presentation located on the details page of the user (form), that allows to manage roles for this user.

    The shape of table contains 3 elements:
    -> a checkbox
    -> user (PK) column is hidden, and its default value is generated by a function pl/sql (to submit the time), which refers to the element to username.
    -> the role of the column is displayed as a named select list LOV: add you a line, choose a role, submit, etc..

    But my ROLES table (not created by me...) contains 2 columns: USER and GRANTED_ROLE.
    The USER is the primary key, but a user can have multiple roles (= one line per role).
    GRANTED_ROLE is the second primary key, so that we can differentiate between one line of another.

    At the moment my tabular form has only one primary key (USER), so the GRANTED_ROLE can display as a list select.
    But, for this reason, in my opinion, remove the button do not work: all the lines of the user have the same key, so when I select a few lines to remove these, all lines in the form of tables are deleted.

    I don't know how my button Delete could recognize the subkey to remove only selected rows...
    Or maybe I should use a different type of region?

    Thanks for your help!
    Fanny

    In the process of ApplyMRD, try to specify the 'secondary key' column in the section "Source: Multi line Update and Delete"to the second column key in tabular form.»

    I have not tested this with your situation, but worth it.

  • Manage selection lists - how import/load a Select lists?

    Hi Eloqua users,

    I created some forms as im having to locate in other languages.

    I have our forms we have couple of select lists that I'm going to locate too. One of them is a list of selected countries.

    Is there a way to uplod or automatically import a selection lists?

    Any country that SELECT lists is available in other languages that I could import?

    I try to avoid editing a whole list :-)

    Thanks a lot for your answers.

    Rhea

    Hi Rhea

    Certainly, you can download a list of selection without having to manually enter each value.

    E9 if you go to automate > forms > Forms tab you can then click the Menu n forms manage and then select manage lists. You can create a new list or select an existing one. In the menu select list in the upper right corner, you can select Upload select list and follow the wizard to the process. You will have a column for the value (the value that is stored on the contact record) and the name (this is what is displayed in the drop-down list of the select list.

    E10 you can go to settings > select manage lists and follow the same procedure as described above. You can create a new list or select an existing one. In the menu select list in the upper right corner, you can select Upload select list and follow the wizard to the process. You will have a column for the value (the value that is stored on the contact record) and the name (this is what is displayed in the drop-down list of the select list.

    I hope this helps!

  • How to highlight a selected list item

    Hello
    I created a list, and he attributed to page 0. He appears in the form of DHTML tree on each page
    demand. Then related pages for each item in the list.
    When I click on one of the list item, it navigates me to the desired page.
    Now my requirement is then the page is displayed, the item I clicked on which must be
    updated poster on this perticular page.

    Please provide a solution.

    Thank you and best regards,
    Gerard

    Home-> Application Builder-> your Application-> shared-> model components

    Do not change the list that you use! Believe me, bad things can happen if you do... :'(
    I use: Pull Down Menu with Image (measure 1)
    -> Make a copy of the list template.

    Open the copy and find more

    Model definition
    -Current model list
    -Model list associated

    Here you can set your list items HTML attributes.
    I do not know... Maybe you can use the bolt or stressed...
    I hope you're good in HTML. I learned is one week, so I'm not an expert. ;)

    Then you just use your new model list in the application.

    'In progress' and not 'common' is located, when you edit your entry in the list:

    The current list entry
    -The list entry for page Type: = colon-delimited Page list
    -The entry list current for Condition: = 1<=== your="" page="" number,="" where="" the="" item="" has="" to="" be="">

    Published by: pAT on August 19, 2011 06:12

  • How to pass variable separated by commas in the bind value of VOquery?

    Version 11.1.1.3.0
    The guys need to help you on this

    I have a VO with query somethg as below

    SELECT *.
    FROM a schema. Table-name
    WHERE (: Bind_Varible has the value null or Column_Name IN (: Bind_Varible))

    User will be be select several values of the screen and I need to pass these value above bind variable.
    But in the variable binding ADF take everything as a single string, then, how can I pass values separated by commas?

    As SELECT *.
    FROM a schema. Table-name
    WHERE (: Bind_Varible has the value null or Column_Name IN (99,55))

    Thank you
    Any help will be appreciated

    I put mine up in this way, my binding variable is a list of values separated by commas, that is to say ("A, B, C, D") (I have a select that many shuttle) then I used a regexp substr to turn them into a list

     WHERE    :Bind_Batch_NM_Comma_Sep_List IS NULL
             OR batch_nm IN
                   (    SELECT REGEXP_SUBSTR (:Bind_Batch_NM_Comma_Sep_List,
                                              '[^,]+',
                                              1,
                                              LEVEL)
                                  batch_nm
                          FROM DUAL
                    CONNECT BY LEVEL <=
                                    REGEXP_COUNT (:Bind_Batch_NM_Comma_Sep_List,
                                                  ',')
                                  + 1)
    

    Published by: pollywog on September 18, 2012 16:07

Maybe you are looking for