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

Tags: Oracle Development

Similar Questions

  • I get a message saying "you have exceeded your profile storage space. Yet all the files listed th are actually my docs and application data. How to delete my profile, but not from my pc? increase the max profile size

    I get a message saying "you have exceeded your profile storage space. Yet all the files listed th are actually my docs and application data. How to delete my profile, but not from my pc? increase the max profile size

    1. the first thing to do is to make sure that the computer is completely virus/malware-free. Googling around this error produced quite a few links where the posters were or had been infected with Spyware Protect 2009 rogue.

    http://www.elephantboycomputers.com/page2.html#Removing_Malware

    Once the scanning is complete (do not skip the preparatory stages no more), if the problem persists:

    2. double-click on my computer, right-click the icon for your hard drive, click left to get its properties. If you see options to set Quota management make sure that they are disabled.

    3. in the case - BUT ONLY AFTER YOU ARE sure THAT THE MACHINE IS MALWARE/VIRUS-FREE - copy the lines between asterisks (not including the asterisks) below and paste it into Notepad. Save as undopolicy.reg somewhere, you will find. And then double-click the .reg file, that you have just made to melt in your registry. I hope that this will take care of the issue.

    *****
    Windows Registry Editor Version 5.00

    [HKEY_CURRENT_USER\Software\Microsoft\Windows\CurrentVersion\Policies\System]
    'EnableProfileQuota ' = -.
    'ProfileQuotaMessage ' = -.
    "MaxProfileSize" = -.
    'IncludeRegInProQuota ' = -.
    'WarnUser ' = -.
    'WarnUserTimeout ' = -.
    *****

    MS - MVP - Elephant Boy computers - don't panic!

  • 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.

  • 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

  • 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

  • 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.

  • 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 delete saved selections?

    I have a CS3/CS4 compatible PSD file that includes more than a dozen selections recorded. When I use the load selection menu item, the dropdown selection menu I saved there.

    There are several recorded selections is no longer, I need this file.

    Is it possible to remove or modify them in any way?

    Have you tried using the control panel layers?

  • How to get the selected DataGrid item?

    Hello

    I have a datagrid

    < mx:DataGrid = "10" XY = dataProvider "36" = "{acEmaillist}" width = "319" >
    < mx:columns >
    < mx:DataGridColumn headerText = "Full name" dataField = "cn" width = "150" / >
    < mx:DataGridColumn headerText = "Email" dataField = "mail" width = "150" / >
    < / mx:columns >
    < / mx:DataGrid >

    I want to select a name, click it, get the selected name and save it in a string variable. Please let me know how to get the selected name when I click it. Thank you very much.

    M

    This code can help.


    http://www.Adobe.com/2006/mxml"width ="100% ">

    Import mx.controls.DataGrid;
    Import mx.events.ListEvent;

    [Bindable]
    private var nameStr:String;

    public void getName(event:ListEvent):void {}
    var dg:DataGrid = DataGrid (event.target);
    nameStr = dg.selectedItem.cn;
    }
    ]]>



    Bob Smith
    [email protected]


    Ted Alan
    [email protected]


    Fred Tobs
    [email protected]








  • 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 delete in bulk list of reading in safari

    How can I remove the entire reading list new items check instead of each point of the news by a the in bulk?

    Right or control click on the first item, then click on Claire everything.

  • Delete "Has not sent Messages" from Outlook Express

    I had already tried to send (by e-mail) 4 messages on Outlook Express.  These messages was not an error saying that amount report exceeded content allowed.  I am trying to send more than one message today, but four other messages that have failed are included in this attempt and I get an error.  How can I clear the previous 4 messages that did not send so that I can send it a message.  I can find the Inbox on 'Outlook Express', but not a place where I can go to remove these failed messages.  Help, please!

    If you cannot delete Outbox messages while working offline, and then create a new Outbox.

    Tools | Options | Maintenance | Store folder will reveal the location of your Outlook Express files. Note the location and navigate on it in Explorer Windows or, copy and paste in start | Run.

    In Windows XP, Win2K & Win2K3 the OE user files (DBX and WAB) are by default marked as hidden. To view these files in Windows Explorer, you must enable Show hidden files and folders under start | Control Panel | Folder Options icon | Opinion, or in Windows Explorer. Tools | Folder options | View.

    With OE closed, find the Outbox.dbx file and delete it.  A new, empty and clean, Outbox is created automatically when you open OE.

  • How to delete a selected line using a button located outside the datagrid in flex4 mxml application

    Hi friends,

    I'm new to flex, I use flex4 mxml application, I have my doubts... Help, please.

    My requirement is that I use a grid.i of data data should this datagrid from another window contextual and recorded the details datagrid now, too, I want to remove a record from a data grid

    I use a datagrid. a save button and remove the two buttons are placed outside the grid of data. so once I click on a row of the data grid and click on remove the medium button this record should delete data grid.


    All codes suggession and extract are welcome.

    Thanks in advance,

    B.Venkatesan

    Hello

    This code can help you:

    http://www.Adobe.com/2006/mxml"layout ="absolute"viewSourceURL =" srcview/index.html">"

    Import mx.controls.CheckBox;

    Import mx.collections.ArrayCollection;

    Import mx.controls.Alert;

    public var dp:ArrayCollection = new ArrayCollection();

    public void addRow (): void

    {

    var tmp:Object = new Object();

    tmp ["amount"] = 100;

    dp.addItem (tmp);

    }

    public function delRow (): void

    {

    If (dgFee.selectedIndex! = - 1).

    dp.removeItemAt (dgFee.selectedIndex);

    }

    ]]>

    Thank you and best regards,

    -----------------------------------------------------------------------------------------

    Vibhuti Gosavi . [email protected] | www.infocepts.com

    -----------------------------------------------------------------------------------------

  • formatting of values in the select list

    All,
    Ive a select/combobx with a simple query like list below and I only want the names in a specific Department to be in bold/italics, how?

    D SELECT ENAME, EMPNO FROM EMP BY 1 R

    Thank you and best regards,

    Gor_Mahia wrote:
    All,
    Ive a select/combobx with a simple query like list below and I only want the names in a specific Department to be in bold/italics, how?

    D SELECT ENAME, EMPNO FROM EMP BY 1 R

    Thanks & best regards,

    Try this plugin http://www.apex-plugin.com/oracle-apex-plugins/item-plugin/combobox-with-custom-display_212.html

Maybe you are looking for