List item problem - couldn't pick a value

Dear professionals,
i used Andreas's code to dynamically populate list item (http://andreas.weiden.orcl.over-blog.de/article-28957008.html) and it works fine (nice work Andreas)!
My problem is that i couldn't pick any value from list - I see many values, but there is now way to choose any of them. (video and picture are here: http://imageshack.us/g/3/property.jpg/)
Also, i spotted that it's not possible to use Combo-box property along with encapsulating procedure - the form is just not opened...
I'm using JRE 1.6, 10gR2 (10.1.2) F&R...
Does anyone know why is that ?
Thanks in advance,
Adnan
Edited by: adnanBIH on Jul 5, 2011 8:33 AM

Andreas Weiden wrote:
You didn't show us the query you use to populate the list. I would guess that all entries have the same value for the VALUE-column of the select, so that they are all "identical" from the value.Andreas bravo ! :))
Yes, you're right - my select statement looks like this:
select a value, "Word" label
from emp;I'll fix it tomorrow - thx once again, generic procedure is excellent !
Adnan

Similar Messages

  • List item problem in oracle form

    i have list item that is populate from table. e.g list item contain issued,received,forward to finance,cancelled,
    if i insert in the issued in table thats values will be shown in list item but not selected means disabled which means that this value once inserted in the table for that record.
    after that when recieved is inserted for that particular record this means that issued and received is disabled in list item....
    i want such dynamic list item which that is shown all values in list item but that values once insert in table these value is disabled in list item not selected by user for particular record...

    Hi,
    We can't disable the lov field but we can eliminate such field from lov by using GTT:
    Re: How to update the LOV without commit

  • List Item problem in oracle forms

    Hi,
    I am using list item in oracle forms 6i and facing one problem. I am populating list using following built-in.
    Clear_list()
    Create_Group_From_Query( )
    Populate_list()
    The problem I am facing is when list gets populate it keep the cursor at last element of list with null value. I want cursor to go at first item in the list. Is this thing is possible. The list item I am using is pop-list. In combo its showing list perfectly but I have to use pop-list only. Please help to come out of this problem.
    Thanks in advance
    Shweta.

    Hi Shweta,
    Please post your query in Oracle Forms discussion forum.
    Thanks,
    Wilson.

  • List items problems in oracle forms 6i

    Hello friends,
    I am using list item in oracle forms 6i and facing one problem. I am populating list using following built-in.
    Clear_list()
    Create_Group_From_Query( )
    Populate_list()
    The problem I am facing is when list gets populate it keep the cursor at last element of list with null value. I want cursor to go at first item in the list. Is this thing is possible. The list item I am using is pop-list. In combo its showing list perfectly but I have to use pop-list only. Please help to come out of this problem.
    Thanks in advance
    Shweta.

    I have a question related to this post...what if you want the first item on the list to be the null record - but have it at the top of the list - like all other drop downs I've seen? I'm running on forms 9i
    Edited by: saburo on Mar 2, 2010 7:58 AM

  • .... List Item Problem

    ...HI....
    I want to populate list T List with the values from the database
    I want that whenever user select a date, all the record with that date is displayed in the T list from which user can select and click on the record and that record will displayed in the Fields .
    I have created a list and a recordgroup
    recgroup:= create_group_from query('gname','select createtime,stlong from cc_hist where stid like %1063')
    and then i use
    status is a number variable
    status:= populate_group('gname');
    Now i user
    Populate_list( listname,gname) where gname is the record group name.
    but this procedure is not working
    then i use
    Recgroup varchar2(100);
    Recgoup:='select ......... query)
    then
    Populate_list('listname',recgroupname)..
    No error is shown rather i recieve a message in the task bar of Forms 6i
    that " Module built succesfully"
    But not a single item is shown in the T List..
    why is this..
    Is there any other way to popluate the list
    i want ot show at least 2 or 3 columns in the same list is it possible..
    Kindly reply urgent...
    Thanx alot ..
    best regards

    sorry man.. No use giving either group id or grouop name thats not issue..
    why is not creatign the group ..
    The main issue is that ..
    here is the code i m using ..
    eclare
    --listid item:=List_item('List6');
    rg Recordgroup;
    pop number;
    begin
    --Add_list_Element('List6',1,'Hi','first');
    rg:= Create_Group_From_Query('rcg','select st_city,to_char(st_cit) from site');
    pop:=Populate_Group('rcg');
    Populate_list('List6','rg');
    -- clear_list('List6');
    end;
    well i have searched and found that if you create groups to populate item in the list box.. you need to add extra column for the value of the list item.. for each element.
    thats what i tried to do. but still i get the error.
    FRM41072 etc that cannot create record group..
    i dont know what the hell is the error..
    Kindly tell me How to populate my list..
    its an imp module and user will select stid and i will create group based on that stid and then populate result in a list item.. T list..
    Kindly reply me urgent so that at least i know how to do this..
    best regards
    thanx alot...

  • List Item Problem!!!!Urgent

    Hi..
    Items:
    List5 : list item
    List6 : list item
    Two visaul attributes: default,color.
    I ahve problem when using the code(down),when i click on each element in list it
    highlight it,but problem when I scroll down in the list it highligh all elements.so wha is the problem,whay it highlight all elements???Thanks for help
    TRIGGER : WHEN-LIST-CHANGED
    declare
    total_list_count number;
    i number;
    double number;
    begin
    double := 0;
    i := 1;
    total_list_count := Get_List_Element_Count('list6') + 1;
    while i < total_list_count loop
    if :list5 = Get_List_Element_value('list6',i) then
         double := 1;
         delete_list_element('list6',i);
    end if;
    exit when double = 1;
    i := i + 1;
    end loop;
    if double = 0 then
    total_list_count := Get_List_Element_Count('list6');
    total_list_count := total_list_count+1;
    Add_List_Element('list6',total_list_count,:LIST5,:list5);
    Set_Item_Property('list5',VISUAL_ATTRIBUTE,'color');
    else
         Set_Item_Property('list5',VISUAL_ATTRIBUTE,'DEFAULT');
    end if;
    end;

    THe most user-friendly way would be to remove elements from all other lists when they are chosen once. You would have to have a WHEN-LIST-CHANGED-trigger on all listitem and populate the the listitems accordingly.

  • List item problem in Forms 6i

    Hi,
    I have two table columns that should appear as list items in the application. The items are placed in a data block is filled by a master-detail-relation. The table columns have the type varchar2(60). If I create text items of that size for the two columns, the query works fine. But changing them to list items causes FRM-40350. Any ideas to help me solve this problem are appreciated.
    Best regards,
    Markus

    Hi Francois,
    thank you for your contribution. I know, that I have to use record groups to populate the poplists. That's not the real problem. In fact, querying the block containing the two list items fetches no records if the two items are designed as list items and not as text items. Can you give me some hints on that ?
    Best regards,
    Markus

  • List item problem in oracle forms 6i

    Hello,
    I've 10 test filed, in-front of each text field there are 10 list item (separate list item)
    for each list item element list is given below
    Route
    Customer name
    Delivery date
    Delivery Time
    Delivery Session
    Expected received
    Actual Received
    Fresh Received
    Rate per liter
    Debit Amount
    On text fields I am fetching records from another file. User will map the list item with text item.
    What i want to check is, list item should not get repeated. i.e suppose I've run time display like this
    text item
    list item
    A
    ROUTE
    B
    DELIVERY DATE
    C
    DELIVERY TIME
    D
    DELIVERY DATE
    E
    EXPECTED RECEIVED
    F
    ACTUAL RECEIVED
    G
    FRESH RECEIVED
    H
    RATE PER LITER
    I
    DEBIT AMOUNT
    J
    DELIVERY SESSION
    on text filed B- DELIVERY DATE is assign and at text field D again DELIVERY DATE is assign. I want to avoid this thing and prompt the user regarding the same. How should I go about this? Should I design a button for validation, if yes then what should be the code? or should i go with WHEN-LIST-CHANGE? if so, then what should be the code?
    my design time display is like this
    text
    list item
    txt1
    lst1
    txt2
    lst2
    txt3
    lst3
    txt4
    lst4
    txt5
    lst5
    txt6
    lst6
    txt7
    lst7
    txt8
    lst8
    txt9
    lst9
    txt10
    lst10
    please suggest something
    Thank You
    Sam

    THe most user-friendly way would be to remove elements from all other lists when they are chosen once. You would have to have a WHEN-LIST-CHANGED-trigger on all listitem and populate the the listitems accordingly.

  • ERMS Attribute "Problem Status" not picking up value in Mail Form

    Hi All,
    As per the current system, we have a mail form where we have added an attribute "Problem Tracking Text" and it inserts the Problem record number in the outgoing email.
    Currently we need to add another attribute, "Problem Status". But when this is added to the Mail form, it does not pick the status in the outgoing email.
    "Problem Status" attribute is maintained under E-Mail Response Management System -> Define Repository
    What other configuration is missing. Please advise.

    Issue is resolved. For those who might face this issue in future-
    Problem Status is automatically stored in Fact Base. There is no need to have them as text in the email.
    One can directly add them in rule policy. It was not working for us because Fact Base it was stored as E0005 and in Rule policy it was stored as Completed. Once we changed the input value for rule policy to E0005, it works perfectly.

  • List Item Problem(Urgeng!)

    Hi all,
    I have one list tiem(Combo Box) and I have some element in the list like:
    DHAKA
    BABNA
    DALCHUT
    DATABASE
    BANGLA
    BONDHU
    COMMILLA
    What I want to do is when my user press B from keyboard the list will show or sort the item starting with B first and and rest of the item. Can I do it? Please reply.
    regards,
    suddin

    no chance. When your focus is in the item you cannot change the elements on key-pressed. This is a feature that forms has only in LOV's. Maybe you should use a LOV instead.
    try it
    Gerd

  • Querying list items of document libraries returns incorrect values.

    I have several document libraries. I am trying to get only the documents that the a selected user has however it is returning other authors documents. Attached is my code. Any help would be greatly appreciated.
    CamlQuery camlQuery = new CamlQuery();
    string query = "<View Scope='Recursive' /><ViewFields><FieldRef Name='File' /><FieldRef Name='FileLeafRef' /><FieldRef Name='LinkFilename'/><FieldRef Name='LinkFilenameNoMenu' /><FieldRef Name='Modified' /><FieldRef Name='Created' /><FieldRef Name='Author' /></ViewFields>" + "<Where><Eq><FieldRef Name='Author' LookupId='TRUE'/><Value Type='Integer'>" + user.Id + "</Value></Eq><AND><Eq><FieldRef Name='ContentType' /><Value Type='Computed'>File</Value></Eq></And></Where>" +
    "<OrderBy><FieldRef Name='Created' /><FieldRef Name='Modified' /></OrderBy><QueryOptions><RowLimit>" + count + "</RowLimit></QueryOptions></View>";
    camlQuery.ViewXml = query;
    listItems = list.GetItems(camlQuery);
    clientContext.Load(listItems);
    clientContext.ExecuteQuery();

    Hi,                                                             
    The CAML statement below can filter the documents created by a specific user,
     please test it in your environment:
    @"<View Scope='RecursiveAll'>
    <Query>
    <Where>
    <Eq>
    <FieldRef Name='Author' />
    <Value Type='User'>Display Name</Value>
    </Eq>
    </Where>
    </Query>
    <ViewFields>
    <FieldRef Name='FileLeafRef' />
    <FieldRef Name='Author' />
    </ViewFields>
    </View>";
    Best regards
    Patrick Liang
    TechNet Community Support

  • How can I delete null values from List Item?

    Hi Friends,
    I used List item for field job_Type, I entered values in List item at design time through property pallet. When I run form I will see null values in this List Item.
    How can I remove these null values from the List?
    Best regards,
    Shahzad

    Dear Shahzad,
    It can be removed by adding the following code in the When-new-Form-Instance.
    Set_item_property('List name', required, property_true);
    :block_name.list_name := <put your default value here>; (If you didn't oput the default value, then you will get some problem and the cursor may not navigate away from the list).
    Senthil Alagu .P.

  • Set Default Value of Multi-select list item

    I have a multi-select list item I want to default the value of to '%' (which is really '%null%') and have it selected. I tried setting default value of item, but it doesn't take '%null%'. I also tried a computation with a static of
    :P507_ITEM := '%null%'; How do you get the default value set and selected?

    Hi
    Shijesh is right, you need to change your null return value and use that return value as your default. Try and use something of the same datatype as your real return values if you plan to use '%' to display all as it will make your queries simpler. eg.
    Company A returns 1
    Company B return 2
    % returns 0
    Then your query would be...
    SELECT ...
    FROM ...
    WHERE company_id = DECODE(:P_COMPANY,1,1,2,2,0,company_id)
    Hope this makes sense.
    Cheers
    Ben

  • Unable to select the value from a list item in forms 6i

    Hi ,
    I'am using forms 6i. I have created a list item in my form as below.
    Item_type = list item
    list style - popup list
    elements in list - A, B, C,D
    When I open the form all the above values are displayed for the list item. But I'am unable to select the item( either A,B,C,D).
    Please let me know if I need to add any thing else programatically to acheive this. The block on whixh these values are diplayed is a datablock.
    This is very urgent. Any suggestions would be of great help.
    Thanks
    Deepthi

    If you have a list item where you have:
    Display A value 1
    Display B value 2
    Display C value 3
    Display D value 4
    If want to initial the value of the item to be A, you can set the initial value of the item to 1 in the property pane.
    Otherwise in an initialisation triger have
    :block.list_item := 1;
    HTH
    Tony

  • How to add values in a List item using code

    Hi all,
    I want to populate a list item at run time with the values of my choice.
    im using this
    add_list_element('list34',1, 'Name','Smith');
    or
    add_list_element('list34',1, 'Name',:emp.txtname);
    where emp is my data block and txtname is a text field on this emp block.
    noen of them is working, whether i try adding a string or the value in a text item.
    please help.

    It gives any error or just does nothing?
    Have you tried making another simple form with just one block and one or two items?
    You can do this type of testing in these conditions.
    Which version of forms are you using?

Maybe you are looking for

  • Gif support true transparency?

    gif support true transparency?

  • When i open itunes it gives me an option for itunes U and podcasts download

    Hello, I just purchased an Iphone 5.  When I open up Itunes, it gives me a screen that has two tabs at the bottom.   One tab is for Itunes U and another is for Podcasts.  When I click on either tab, it asks me to either download or open.  I downloade

  • IOS 5 Safari JavaScript execution exceeded timeout

    I am working on a mobile web app that is primarily self-contained and communicated with the server only when necessary. Currently, the libraries being used are: - jQuery 1.6.4 - jQuery UI 1.8.3 - Modified/patched version of jQTouch Up until the relea

  • Restricting the values in Drop Down list for ESS application

    Hello Experts, We are trying to restrict the values in the drop down list box for payment method field for direct deposit iview. Here Payment is the Zlsch field. here we are trying to have only 3 vlaues in the drop down. Do I have to do it from java

  • Merging Mulitiple Rows into single row

    Hi All , I am loading master data to DSO from PSA . In my source i have got 5 records for specific keys Ex : Customer Divis  DistChan   Flag   Partner1    Partner Name            1            PC     11          F1     11                    Jhon