NOT urgent. LOV that excludes list item that is already selected

I have a mutiple record block with a LOV item. I want the LOV to display only list items that have not been selected in the other records. The form do not commit after each record, so I cannot use a databse query to exclude the list items that have already been selected.
The only way I could think of is to go through the data block and build a LOV that excludes the list items that are in the records. This seems like a lot of work for a simple task.
Is there an easier way in doing this?
Any help will be appreciated.
- Clayton.

Hello Clayton,
you don't need to commit. You could try to post your records to the database.
But make sure you do a rollback when the user doesn't want to commit.
This will release you from the 'hard work' ;-)
Bernd

Similar Messages

  • Want 2 populate value in 2nd list item based on value selected in 1st list?

    Want 2 populate value in 2nd list item based on value selected in 1st list?

    Gaurav -
    The 3rd list will not populate because nothing has been selected yet in list 2. The value in list 2 is null, so the loop to populate list (3) has nothing to load. Try the following below. This should seed your 2nd list so the 3rd list will populate.
    You will have to declare first_record boolean and first_value to match DESCC.
    first_record := true; -- NEW *****
    Clear_List('BLOCK2.ITEM2');
    FOR CurRec IN (SELECT UNIQUE DESCC DESCC FROM LUTT where LUTT.IDD = :BLOCK2.ITEM1)
    LOOP
    if first_record = true then -- NEW SECTION *****
    first_value := CurRec.DESCC;
    first_record := false;
    end if;
    Add_List_Element('BLOCK2.ITEM2',1,CurRec.DESCC,CurRec.DESCC);
    END LOOP;
    :block2.item2 := first_value; -- NEW *****
    Clear_List('BLOCK2.ITEM3');
    FOR CurRec2 IN (SELECT UNIQUE DESCC DESCC FROM LUTT where LUTT.DESCC = :BLOCK2.ITEM2)
    LOOP
    Add_List_Element('BLOCK2.ITEM3',2,CurRec2.DESCC,CurRec2.DESCC);
    END LOOP;
    My name is Ken, 1990 is when I started using Oracle Forms 3.0, character based in the Unix environments. And you are very welcome.

  • HT1918 How do i put NONE for payment now that i already selected a card i want to take my credit card completely?!?

    How do i put NONE for payment now that i already selected a card i want to take my credit card completely?!?

    How to update my credit card information

  • Termstore changes are not getting reflected in the list items in SharePoint 2010 farm environment

    Hi,
    I had created managed metadata with termstores from central admin. Then I had created one list in which added a column of type managed metadata using the managed metadata which I had created. And also added few list items to this list.
    The problem is that after updating a termstore the changes are not reflecting in the list items which were added before the update.
    I have referred the following links:
    http://www.paulgrimley.com/2011/02/managed-metadata-changes-not-applied-to.html
    http://davidfrette.wordpress.com/2010/05/26/taxonomy-update-scheduler%C2%A0timer%C2%A0job/
    According to the links we need to run Taxonomy Update Scheduler on the server for updated termstore to get reflected. After running
    this scheduler on development environment changes are getting reflected but not working on the production environment.
    Kindly help!
    Regards, Shruti

    You should check the obvious.  You made the change in dev, but did you make the change in production too?  And, is the term you updated, actually the one that you are looking at in the list item?
    There is not much, if anything, that can go wrong with that timer job. so I'd guess that the term you are looking at is not the one you think you are updating.
    If you have double checked everything (the term is is in fact the same term id), then you may have something erroring in the update process.  In this case, you should check the ULS logs for any errors.
    Chris
    Chris Givens CEO, Architecting Connected Systems
    Blog Twitter

  • My iphone 4s will not sync any music, it does the apps etc and the contents but not the music that i have selected

    I have been doing itune for years and this one's puzzled me?

    Hi im a newbie here and i recently bought an iphone from a friend (wahh i know i should have bought it legitly but i wasnt paying that price sorry),
    I have a 32 GB Black Iphone 4s and theres a problem.
    Yesterday i decided i wanted music on my phone and decided to sync my phone to my itunes and computer..
    But lets backtrack first... Earlier in the day i decided to plug a (non iphone heaphone into the headphone port) and much to my ssureprise it worked (all ive ever dealt with is blackberry) unplugged the headphones and a few hours later this is where i synced my phone tried to play music an GASP nothing..in the music app the volume nubs are gray and cannot be moved left or right and no sound is being heard.. also when i tried to check to see if my ringer was going up and down it was displaying the little speaker but not the bar that moves. Read the discussions here and it seemed that we've all been screwed now i love my iphone and all its features only phone ive ever wanted but i would love this to be fixed.
    I have tried:
    Restting all setting
    Hard Reset
    Restore
    Restore from back
    Changing everything imaginable in Setting and nothing has worked
    Making a voicenote and i actually got sound and my ringer started to work! YAY right.. WRONG
    Cleaning it with nail polish removeer
    Brushing it with a brush
    Using a paperclip and scraping it
    *i did find some fluff but it came out*
    After a few futile attempts at trying to play videos and games with sound and getting nothing i have decided its time to put my tail inbetween my legs and hope that someone can help.
    Im not sure if was the type of headphones that i used or hat but i need help
    PLEASE REPLY I NEED MUSIC
    I AM ALSO A YOUTUBER AND FILM OFF MY IPHONE AND I NEED TO HEAR WHAT **** I AM TALKING AT THE END OF A VIDEO
    THANK YOU

  • Greek Text not showing correctly in a List Item

    I cannot get the Greek text to show correctly in a List Item (poplist). My NLS_LANG is set correctly - text items and display items show Greek just fine. I have tried changing fonts ... to no avail. Anybody have any ideas?

    Try: Store | Check for Available Downloads

  • Urgent: How to exclude a particular value from the selection in the infopac

    How to exclude a particular value from the selection in the infopackage.
    Ex: not load for cost center 10000
    Thank you,
    sam

    Hi Sam,
    You cannot do this directly as exclusion, but you can include all other values, even as ranges and thus exclude the particular value, else you can also try to do this by writing a routine.
    Hope this helps...

  • When using FullRowSelect in a DataGridView, is there a way to not have it unselect every other row if you click on a row that is already selected?

    I want to do this for Dragging and Dropping multiple rows purposes. After the user selects multiple rows they expect to be able to click on one of those rows to start a drag and drop for all of them. Now, I have to tell them when they select the last
    row, they need to keep the mouse button down and then start the drag which nobody is used to.
    Thanks,
    Jim Welch

    I want to do this for Dragging and Dropping multiple rows purposes. After the user selects multiple rows they expect to be able to click on one of those rows to start a drag and drop for all of them. Now, I have to tell them when they select the last
    row, they need to keep the mouse button down and then start the drag which nobody is used to.
    Thanks,
    Jim Welch
    Hello Jim,
    The way you suggested the user is common way to select and drag, where will these selected rows dragged to?
    If possible, you could consider adding a button to move these rows to target control instead of letting user drag and drop manually.
    Regards,
    Carl
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Validating list item with text item havin LOV, how  2 do?

    Dear Sir’s,
    I have two items,
    a) emp_id which is a TEXT ITEM having a LOV
    b) dept_name which is a LIST ITEM.
    Suppose, those employee id’s having 100 and 101, when selected from the LOV, the dept_name list item should automatically become IT_DEPT and the user should not be able to change the value in the list item and the cursor should not be navigable. Like wise, when employee id is 102, the dept_name should show, some of the specific name from the list and not navigable.
    For this, what should I do? Please help me.
    Mitto.

    First in the LOV query select the department name. In the LOV properties, in column mapping properties make the field width as 0 so that it will not be visible in the LOV. In the return item field browse for the item and select it.
    In the run time, upon clicking the lov, the value will be populated automatically.
    I hope this helps.
    Regards,
    Anantha Narayanan
    http://askanantha.googlepages.com

  • Populating List Item From View

    I have two data blocks in my form, one named USERS which contains updateable fields to a table from the view and another data block called CONTROL which are all list items that currently populate on a WHEN-MOUSE-CLICK trigger. The list items work as expected for the WHEN-MOUSE-CLICK trigger. However, my problem is trying to populate the list items based on a selection previously chosen and saved to the table (yes, the values are in the table and are selectable through the view). I have a seperate population for this occurrance in the WHEN-NEW-FORM-INSTANCE at the form level, as well as on KEY-SCRUP, KEY-SCRDOWN, WHEN-NEW-RECORD-INSTANCE, and POST-QUERY at the USERS data block level. The only way the list items populate on a previously chosen and saved value is if you choose (WHEN-MOUSE-CLICK trigger) the list of values and save. From then on, as I scroll through the data retrieved in the USERS data block the corresponding data in the users view shows up in the CONTROL block list items. How do I get my form to initially show the corresponding list item data on form load when it is already in a WHEN-NEW-FORM-INSTANCE and POST-QUERY trigger on form load?
    Thanks in advance for any clue to point me in the right direction.
    Kyle
    Edited by: Kyle Miller on Sep 29, 2008 3:09 PM

    The form is for editing a current student information system user who we will be extracting data for an OBIEE IDM import. All of the fields displayed in the OBIEE_USERS data block can be edited. For the CONTROL block list items I would like them to display the current value chosen for the user displayed in the OBIEE_USERS data block. When the CONTROL block list items are clicked on then a list of values are displayed in which the logged in form user can chose another value which ultimately changes the choice for the user displayed in the OBIEE_USERS data block. This all works fine in my current form except the list items do not display the current user selected in the OBIEE_USERS data block's saved value until the list item is selected, a value chosen, and a save is committed to the table tied to the OBIEE_USERS data block. From that point I can scroll through the OBIEE_USERS block and the list item displays the correct value for the selected user, if there are values (some users have NULL values). I have currently worked around this issue by displaying the fields in the OBIEE_USERS block and only use the list items for the changing selection. I did this because I needed a proof of concept for the pilot roll-out and could no longer wait to figure this issue out (it should be more simple it seems). I am still interested in resolving this as I feel it is a great functionality for the form.

  • Preselct a passed parameter in list items

    Hello there,
    here my problem:
    I have table emp, dept
    I have a report joining both and telling to me:
    name deptname
    smith new york
    Following the edit link i can get a text field:
    dept
    new york
    or a lov with all deptlocations without preselection
    how can i preselect new york in a lov in the edit form
    i tried severel ways but without success :(
    thx for help

    if i'm understanding you correctly, you're able to get to your edit screen with your Dept text field correctly populated with "new york". if you want that Dept field to be a Select List that's preset to new york, you'd simply have to set that item up as a Select List where the string "new york" is one of its return values. so in the online doc for htmldb where it talks about lists of values...
    http://htmldb.oracle.com/i/doc/mvl_design005.htm#sthref1076
    ...it explains that LOVs are defined with display values and return values. so in the proper DEPT table, a decent Department Name LOV query would be...
    select dname disp, deptno ret from dept
    ...where deptno is the return value and dname is the display one. so if your edit form truly is showing "new york" in its "dept" field and your dept table has values like...
    deptname
    new york
    washington
    chicago
    then writing an LOV query for your dept Select List item like...
    select deptname disp, deptname ret from dept
    ...would work fine. to see a working (and somewhat more clear) example of what i mean, install the "Sample Application" into your htmldb workspace (you can install the Sample Application by clickin the "Review Demonstration Applications" link in the lower right corner of the htmldb development environment homepage. there's a link to install the sample application on that next screen). when you run the app, click the Products tab, and try to edit one of those products, you'll see that the P301_CATEGORY select list item on page 301 is correctly defaulted. upon closer inspection, you'll find that no special magic was necessary to achieve this. correctly fetching the P301_CATEGORY value and correctly defining the "PRODUCT_CATEGORIES" list of values query were all that was needed.
    hope this helps,
    raj

  • How to populate a list item...

    Hi Guys,
    i have created one of the field on my form as List Item. Now i want to populate this Item with some values in a table.
    I have a base table with
    Country_ID and Country_Name fields.
    I want to populate my List Item on the form in such a style that it just display Country_name in the list, while Country_ID is saved in the database.
    The datatype of the field on my form is NUMBER.
    How can i populate my list item with a values selected from a database table, description is displyed while code is to be save?
    Pliz help,
    Imran Baig

    >
    Hi Guys,
    i have created one of the field on my form as List
    Item. Now i want to populate this Item with some
    values in a table.
    I have a base table with
    Country_ID and Country_Name fields.
    I want to populate my List Item on the form in such a
    style that it just display Country_name in the list,
    while Country_ID is saved in the database.
    The datatype of the field on my form is NUMBER.
    How can i populate my list item with a values
    selected from a database table, description is
    displyed while code is to be save?
    Pliz help,
    Imran Baighi
    my question is how is the county id value assigned hidden field to be saved to the database.
    secondly the reply states populate list(lstitem,grp_county) my question is which field are you populating here - the display value the country name or the county id to be saved in the database.
    most of the notes says you have to create a value twice. one for label and one for value, how is this applicable to be above case.
    i have a record group -
    SELECT site_abbrev,TO_CHAR(site_code)
    FROM sgr_site_list with 2 fields x_site not displayed but receives the site code and save to the database, the other x_site_abbrev displayed and receives site_abbrev but not saved to the database. this is the trigger i have written
    declare
    site_grp recordgroup := find_group('site_grp');
    i_list_item item := find_item('control.x_site_abbrev');
    status varchar2(80);
    begin
    status := populate_group(site_grp);
    CLEAR_LIST(i_list_item);
    POPULATE_LIST(i_list_item,site_grp);
    but i get the form error 40176 cannot create list ...
    can someone help please, the whole concepr is a bit confusing
    thanks

  • Shortcut to mark up list item in DW CS5

    Hi,
    Forgive me if this is an easy one, but I have checked the knowledgebase without success. In my last version of DW I had a shortcut programmed so that I could type the text for a list item, highlight it, and use the shortcut to append opening and closing <li> tags to either end - much as you still can with CTRL+Shift+P for paragraph tags.
    I used this a lot as I often receive long lists which need to be marked up and it's the quickest way - except I can't figure out how to do this now. I tried the advice here: http://help.adobe.com/en_US/dreamweaver/cs/using/WSc78c5058ca073340dcda9110b1f693f21-7cd9a .html but DW will only append <ul> tags to either end of the text, not <li> tags to each list item.
    Any help very much appreciated.
    Thanks
    Katie

    You can define a snippet to do that, and then create a shortcut to execute that snippet.  I believe that was how you had to do it before, too.
    I'm assuming you want to change this -
    here is a line of text
    to this -
    <li>here is a line of text</li>
    right?

  • Editable list item

    Can a list item be editable...I have populated a list item using a record group.The user should be able to edit the values in the database using this list item.It is a poplist.

    you want to edit the data which is shown in the list item?
    if you select the data from a table to show it in the list-item, then you have to update the data in this table. Create a form, which you use for this lookup-table and update the data through this form...

  • TS1368 My mac cannot connect with iTunes the message that appears is "the item you've requested is not  urgently available in the u.k store" although I am already connected to my u.k account

    My mac cannot connect with iTunes the message that appears is "the item you've requested is not  urgently available in the u.k store" although I am already connected to my u.k account

    well if it helps any, it's just not in the UK. We here across the pond are having the same error message. I'm so attempted to take this iPad back to the store. This is CRAAAAAAAZZZY

Maybe you are looking for

  • Filter List View by User and Groups in SharePoint Does Not Work on site Restore to another Server

    We have a scenario where users from a group or seeing items of list views entered by users of other group. For e.g, we have (ALL are Active Directory users and are authenticated as such) GROUP A with USER-A1, USER-A2, USER-A3 GROUP B with USER-B1, US

  • Unable to print

    I am unable to print a PDF. It is 181MB and 330 pages but when I give the print command it takes for ever to process and the print window shows that each sheet is around 50MB. Ultimately an error message popsup just statting that document can not be

  • What is a good use of "Comments Field" in "Document Inspector"?

    Can anayone give me good examples of what is a good use for thsi field? Thanks.

  • Buy Book does not allow me to Buy Book :(

    Help!!!! I wasted the best part of my sunday on this (not good and not pleased...) I set up a photo book for the first time and went to buy it and although I have enabled 1-click (online) the first Order Book screen states that I need to enable 1-cli

  • Update my rezound over OTA?

    On my HTC Rezound i installed the leak 3.13.605.7 710RD. i was wondering if i will be able to have the OTA pushed or pulled (by going to settings> software update> check new) with this leack on it or am i going to have to install the RUU through reco