How do I get the list index for the selected list item

How can I obtain the list index for the currently selected
element in a list item? I'm trying to move the label and value
from on list box to another by using the add_list_element built-
in and it requires the list index.
Thanks for your help...

Hi,
You can`t get the Index for the selected item..
you can get the Value of then Tlist using :Block.ListName .
maybe theis code will help you..
PROCEDURE pr_PasarElementos(ls_Origen           varchar2,                    ls_destino          varchar2,          cValor                    varchar2 default null) IS
     nCont_Orig     number := 0;
     nCont_Dest     number := 0;
begin
nCont_Orig := GET_LIST_ELEMENT_COUNT(ls_Origen);          nCont_Dest := GET_LIST_ELEMENT_COUNT(ls_destino);
     Add_List_Element(ls_destino,nCont_Dest+1,cValor,cValor);
     for rec_Orig in 1..nCont_Orig loop
     if GET_LIST_ELEMENT_VALUE(ls_Origen,rec_Orig) = cValor then
     delete_list_element(ls_Origen,rec_Orig);
     end if;
     end loop;
end;
you can call the procedure with :
pr_pasarElementos('control.ls_activos','control.ls_inactivos',:CONTROL.ls_activos);
here I`m working with the Value equal to the Label... you would need to look for the Label of the origin (ls_Origen) list using the Value (cValor) you already have.
I hope this help you.

Similar Messages

  • I would like to update my eMac from 10.4.11 to 10.6. How can I get this os version for the update?

    I would like to update my eMac from 10.4.11 to to 10.6.x How can I get this os version for the update?

    Highest an eMac can go is 10.5.8...
    Leopard requirements/10.5.x...
        *  Mac computer with an Intel, PowerPC G5, or PowerPC G4 (867MHz or faster) processor
    minimum system requirements
        * 512MB of memory (I say 1.5GB for PPC at least, 2-3GB minimum for IntelMacs)
        * DVD drive for installation
        * 9GB of available disk space (I say 30GB at least)
    Trouble is appl no longer sells it, you have to search eBay & such for the full retail version, not any grey Install Disc.
    There are workarounds if the 867MHz is the only hangup...
    http://sourceforge.net/projects/leopardassist/
    List of Applications Not Compatible with Leopard...
    http://guides.macrumors.com/List:Applications_Not_Compatible_with_Leopard
    Snow Leopard/10.6.x Requirements...
    General requirements
       * Mac computer with an Intel processor
        * 1GB of memory (I say 2GB at least)
        * 5GB of available disk space (I say 30GB at least)
        * DVD drive for installation
        * Some features require a compatible Internet service provider; fees may apply.
        * Some features require Apple’s MobileMe service; fees and terms apply.

  • I can not store all my Music on my internal Macbook pro hard drive so I am storing it on a large external drive connected to my airport extrem.  How do I get Itunes to search for the music here with out trying to copy it to my laptops hard drive??

    I can not store all my Music on my internal Macbook pro hard drive so I am storing it on a large external drive connected to my airport extreme (2 TB drive plugged into the USB port).  I see the drive on my laptop and I can add and delete files no problem.  How do I get Itunes to search for the music here with out trying to copy it to my laptop's hard drive?  I don't have enough space to do that.

    How did you move the music to the external drive?  What exactly is on the drive?  The entire iTunes folder or only music?  If it is the entire iTunes folder you can do the option+start suggestion earlier.  If you copied only music and did so by dragging it there then you need to delete it again and consolidate/organize it there instead so iTunes tracks the move.  iTunes 12 for Mac: Change where your iTunes files are stored - http://support.apple.com/kb/PH19507

  • How user can get a Sales Text for the any Line Item in the Billing?

    Salute Masters ! !
    How user can get a Sales Text for the any Line Item in the Billing?
    It's coming for other Order (Line Item for Bought out Item at Project Site - Some Item they procure at project site & complete the task).
    Where I can configure in system for all.
    Rgds
    Srivastav
    09973504950

    Hi,
    Sales text can be copied from customer to order , order to delivery and delivery to billing .
    Check the T-code : VOTXN , do the customization as per your requirement.
    check the below link :
    http://help.sap.com/saphelp_erp60_sp/helpdata/en/dd/55f993545a11d1a7020000e829fd11/content.htm

  • I downloaded a Trial version of Adobe Acrobat XI.  Now the trial has runout and I've signed up for a subscription.  However, my software still needs a serial number.  How can I get a serial number for the installed software?

    I downloaded a Trial version of Adobe Acrobat XI.  Now the trial has runout and I've signed up for a subscription.  However, my software still needs a serial number.  How can I get a serial number for the installed software?

    There is no serial number and you don't need one. What you need for a subscription is to SIGN IN within Acrobat, so it knows the subscriptions you own.

  • Module pool ---Problem in finding the line index for the table control

    Hi Friends,
    I am working in Module pool programming.
    My requirement is when i select any record on the lead selection I need to find out the index of the line on which  row i have selected.
    Could any one please suggest me the proper solution how to get the line index for the table control in module pool programming.
    Thanks
    Satish Raju

    Hi Raju,
    Follow the steps
    <li>U should take one variable in your internal table or in structure which is used for table control fields.
          DATA :BEGIN OF itab OCCURS 0 ,
                mark TYPE c ,
                matnr LIKE mara-matnr ,
                matkl LIKE mara-matkl,
                maktx LIKE makt-maktx,
            END OF itab .
       controls: tabc types tableview using screen 100.
    <li>This mark variable should be given in Table control properties. follow the path
    double click on the table control-->attributes .->select w/SelColumn and in that give itab-mark.
    <li>Flow logic of the screen
       process before output.
         MODULE status_0100.
         LOOP AT itab with control tabc
         endloop.
       process after input.
         module cancel at exit-command.
         LOOP AT itab.
           MODULE read_table_control.
         ENDLOOP.
         MODULE user_command_0100.
    <li>read_table_control module code
         MODULE read_table_control INPUT.
         MODIFY itab INDEX tabc-current_line."this will update the itab table
                                             "mark field with 'X ' whatever we
                                             "have selected on table control
         ENDMODULE.
    <li>If you want to Delete some of the records from Table control follow this code u2026Create one pushbutton and give Fucnction code to that and write below code
       CASE okcode.
         WHEN 'DELETE'.
           LOOP AT itab WHERE mark = 'X'.
             DELETE itab.
           ENDLOOP.
       ENDCASE.
    I hope that it helps you.
    Thanks
    Venkat.O

  • I was double charged for a purchase i made. How do i get my money back for the second charge?

    How do i get my money back for something the app store double charged me for?

    Hey M_Hoag,
    It would be best to report an issue with your purchase. The following resource outlines how to do so:
    How to report an issue with your iTunes Store, App Store, Mac App Store, or iBooks Store purchase
    http://support.apple.com/kb/HT1933
    Thanks,
    Matt M.

  • How can I get a printer driver for the hp psc 2410 photosmart?

    When I tried toadd the printer, there was a message saying that the printer driver for the 2400 series was available, but when I tried to download it, I received an error message saying that I couldn't download it because of a network error.  My Macbook is not on a network at the moment.  How can I get the driver so I can print?

    You can also install this update directly (not through app store):
    http://support.apple.com/kb/dl907
    If you want us to help more, you will need to give us more detailed info. "It didn't work" leaves me wondering exactly what you've done so far.
    For example, after clicking Add/+ and selecting the printer you want, have you waited for a full minute for the Mac to find the driver
    - OR -
    when it starts searching for driver, have you tried going to the pull-down menu where it says "Use: Auto-select," and choosing "Select Printer Software..." to make a manual selection?

  • How to we get a mobile insurance for the iphone?

    How do we get mobile insurance done for iphone?

    Apple does not sell or provide insurance of any kind. So, contact your carrier to see if the sell such, or do a Google search for companies that do provide mobile phone insurance.

  • I have Norton 360 and it's not compatible with the upgrade to Firefox 4? How do I get Norton activated now for the internet?

    I received a notice that I should upgrade to the Firefox 4. After I did the upgrade I then got a notice that Norton wasn't compatible with the the upgrade. How do I go about getting my Norton Security to work with this upgrade. So right now I have nothing in which is protecting my computer while surfing. Nothing against your product BUT I want what I already had/have to be the one protecting my computer. So what needs to be done so I can have my existing computer security to work with this upgrade. Otherwise I'll go back to the previous version which did work with Norton.

    Symantec need to update their Firefox add-ons so that they are compatible with Firefox 4. They have indicated that for Norton 360 they plan to release an update to Norton 360 to support Firefox 4 in early May - http://us.norton.com/support/kb/web_view.jsp?wv_type=public_web&docurl=20100720113635EN&ln=en_US
    I do not know about the time scale for updates for other Norton products. Pending the update by Symantec, if you want to use the Norton add-ons you will need to downgrade to Firefox 3.6.
    To downgrade to Firefox 3.6 first uninstall Firefox 4, but do not select the option to "Remove my Firefox personal data". If you select that option it will delete your bookmarks, passwords and other user data.
    You can then install the latest version of Firefox 3.6 available from http://www.mozilla.com/en-US/firefox/all-older.html - it will automatically use your current bookmarks, passwords etc.
    To avoid possible problems with downgrading, I recommend going to your profile folder and deleting the following files if they exist - extensions.cache, extensions.rdf, extensions.ini, extensions.sqlite and localstore.rdf. Deleting these files will force Firefox to rebuild the list of installed extensions, checking their compatibility, and reset toolbar customizations.
    For details of how to find your profile folder see https://support.mozilla.com/kb/Profiles

  • Why is it that I want to allow updates but it keep asking for my old account password which I totally stop using. How do I get it to ask for the current 1

    MMy iPad need me to approve a few updates. But it keep asking me for my old account information that I just don't remember, how I get it to ask for password for the current account

    You need to delete and redownload all of the applications associated with the old Apple ID.
    (117093)

  • How do I get a new value for the service name field and update it in Connection Properties?

    I am running Windows Vista. I just upgraded to Firefox 4. When I try to log on to the internet, it tells me the proxy server is refusing connections. A diagnostic reported Error 815 and said the remote server is not responding because there is an invalid value for the "Service Name" field. It said to get a new value and update it in Connection Properties. How do I do this?

    When you create a new film script, the first page you see is a title page.
    The page after this title page is the one where you generally type in your scenes.
    It looks like you are facing some issue and not able to delete any text.
    Can you please send me this script so that I can have a better look at your issue?
    You can save this script to disk by using option 'File -> Save to disk'. This will create a '.stdoc' file on your system.
    Just mail this '.stdoc' file to me at 'roverma <at> adobe <dot> com'
    Thanks

  • How do I get a numerical value for the number of tick boxes or "true / false" in a column?

    Hi,
    Any help for my very simple brain appreciated...
    All I want to do is add in a formula for adding up the ticks in column B i.e. B2 - B46 so the answer of ticks is in B47!?
    And what's doing my head in is I can't even copy and paste a section to show on here!!
    Thanking anyone that can help.

    dominic.birch wrote:
    Hi,
    I just can't do it - it's doing my head in!!
    I'm adding the footer as suggested but the =COUNTIF(B, TRUE) isn't working; it just shows as I've typed it i.e. doesn't add up the ticks??
    D
    It would appear that you are typing it in as text, not creating a formula.  On the iPad, you don't type an "=" nor do you type the function name. You press the "=" button which then lets you start a formula. You choose the function by pressing the "functions" button then choosing it from the list. The function shows up in the editting bar with words in colored ovals for the parameters. You click on the various parameters in the formula to edit them. And you use the mathematical operators and click on cells or choose formulas to create mathematical operations.

  • How do I get a hp email for the eprint app

    Idk
    This question was solved.
    View Solution.

    Hi,
    Please use this link and select the device that you want to print from. The page will then giude you through the steps to enable you to print from your mobile device.
    "Although I work for HP, I'm speaking for myself and not on behalf of HP"
    "Say "Thanks" by clicking the Kudos Star in the post that helped you.
    --Please mark the post that solves your problem as "Accepted Solution"

  • HT4847 How do I get my full refund for the iCloud storage I bought yesterday, but have now switch back to the free 5GBs cause that's all I will ever need in that format

    There's got to be a bunch of us who thought we were buying  online storage we could use to store App's &amp; movies ,tv shows. Well u can't so its been a day now I got 14 more to get a full refund. But that's the thing can't find out how to do that anywhere

    Very bad customer service - I have found that my underaged daughter has apparently ordered extra storage and never used it in her iPad. iPad iCloud settings does not have a downgrading option - BUT LUCKILY we also have an iPhone in the same account. iPhone iCloud settings has the possibility to switch to free 5Gb setting. Really Apple - a rip off way to treat the customer. Shame on you. The only other way apparently is to order a call when it suits Apple (not you). Because of the difficulty I will inform the consumer authorities in my country for this behaviour of the great product but ill service company called Apple.

Maybe you are looking for

  • Error in Events Packaged Application

    Hello, I've been interested for some time in the "Events" packaged application. It was great to see it become available recently. I downloaded, installed, and ran it. It had a problem in changing the calendar type for display. I wanted a daily calend

  • Mac OS 10.4, new Firefox not compatible, old Firefox disappeared

    I got an on line offer to install the new Firefox. Clicked yes, tried it, but it is not compatible with my MacOS 10.4.11. The older Firefox--along with ALL my bookmarks and notes, disappeared. I am trying to update profile information for an airline

  • PDF document in B2C Web shop

    Hello Experts, I am trying to set up a B2C shop in CRM 2007 (sp02). I have set up a product catalog and maintained a PDF document in the HEADER AREADocuments TabBDS_PDF folder. I replicated the same to TREX(having IIS installed on the same machine).

  • How to use CASE stmt in Where clause

    Hi, How to use CASE stmt in WHERE clause?. I need the code. Please send me as early as possible..........

  • Impossible to enable master page editing

    Hello everyone, I'm in trouble because I have to create a custom Sharepoint 2010 Foundation template and i can't modify the master page of the team site. Now you will tell me to go to Site Collection Administration, then to Sharepoint Designer Settin