List item (combo box) issues...

Hi,
I have a form I'm creating that returns several records based on a query that the user may edit. I do not base these items on database values, but rather control the data within the form. I have created dynamic combo boxes for the return values (ie, they're only visible when valid values are returned to them). Basically, when I click on a combo box after the items have been populated, I want to populate the combo box, but exclude the values in the remaining combo boxes restraining the user from trying to specify the definition for a value type twice. I'm running into two problems. First, I use the when-mouse-click trigger on the combo box to populate the values, however, it seems it's automatically generating a scrollbar within the combo box, showing two arrows (which I don't want but can't seem to disable). Also if a user clicks on it twice, it's continuing to add values. I have used the clear_list function, but that seems to be causing other problems such as removing one value, but leaving another and after 2 clicks stops working. Has anyone done something similar or have an idea as to how I might get the functionality I want?
Thank you.

Can u try to attach a record group to the list item
and you only populate record group with commands
1. Create record group with 2 columns
2. Populate the group
FUNCTION POPULATE_GROUP
(recordgroup_id RecordGroup);
3.Populate list
PROCEDURE POPULATE_LIST
(list_id ITEM,
recgrp_id RecordGroup);
this way you will have better control.Hi,
This actually worked great. Thank you!
The only issue I'm still having is the initial when-mouse-click action is bringing up a scrollbar and minimizing what you can view to one value inside the existing list item, but allowing you to scroll through the list displaying one item at a time (within the list item). If I click twice, the scrollbar disappears, but you still can't see the full list. If I click three times, it starts functioning the way I want it to on the initial click by displaying all values as a combo box list with no scrollbar (all values visible). Is there a behavior I'm overlooking that will force it to behave this way from the initial mouse click?
Thank you again!

Similar Messages

  • Display data in list and combo box

    hi all....
    how to display data from database in list and combo box? i use MYSQL...
    help me please..... tq...

    1 - Write a query to retrieve the data you want from database
    2 - In a servlet, connect to database, Run the query, scroll through the result set and put the data into a list of Java Objects.
    3 - Set a request/session attribute of that list of objects
    4 - Forward to JSP
    5 - In JSP, create a <select> box, and then use a <c:forEach> loop to generate <option> tags from the list.

  • Combo box issue

    Hi Experts,
    I'm developing a VC application which has a combo box.
    I'm dynamically filling entries in the combo box.
    Issue is:
    All enteries are visible while executing the application.
    When i select a entry, the selected entry alone is available, other entries are removed.
    Any idea of how to get back my dynamic list in my combo box???
    Thanks

    Suba,
    The forum that you have posted your question in is for questions related to the SAP Business One Integration for SAP NetWeaver.  Your question is related to the Business One SDK.  Please post SDK questions in the SAP Business One SDK Discussion Forum here ....
    SAP Business One SDK
    Eddy

  • How to Filter the List in Combo Box in JDeveloper?

    Hey guys, I really need your help regarding this matter. In JDeveloper, I need to filter the list in combobox in order for us to query faster especially when the list is very long. For example in a 'Country' combo box, when you type 'p' in the field, the list must filter simultaneously all countries that start with letter 'p' or when you place 'ph', all countries with 'ph' in the beginning. If you have sample codes, keywords needed, or sites recommended to solve this problem, it will be very much appreciated. Thnx.
    cy

    using this forum may be more efficient -> JDeveloper and ADF

  • ISO country list in combo box

    I have tried searching the forums and am really surprised I did not fine any questions about importing a list into a combo box.  Maybe I am not seeing how to do something simple.
    I have a list of ISO country codes that I would like to have in a combo box on an acrobat form.  I don't really want to type each one in individually and have tried pasting the list in which did not work.  Is there any way of doing this without retyping the whole list?

    Not necessarily. I created a tool that does exactly that. Have a look at
    this page from my website:
    http://try67.blogspot.com/2009/11/acrobat-import-text-file-to-drop-down.html
    You can contact me privately if you're interested in purchasing it.

  • Spaces always sends  to the same Desktop, drop-lists and combo boxes broken

    I have a new behavior that has just started. When I click on the Spaces icon on my dock - it has several weird behaviors. First, no matter what I click on - it will only send me to the upper right desktop. Second, when I move the mouse while using spaces - the animation flickers very strangely. Third, the animation when Spaces opens and closes is VERY VERY slow and it takes several seconds between clicking the Spaces icon in the dock to when the animation is complete and you can select a desktop.
    Possibly related (because it started at the same time) all of the auto-complete menus (i.e. - those menus that help you type faster when you enter text into HTML forms etc.) are now un-usable. They flicker in and out so quickly that I cannot click on them. Ditto for any sort of combo-box or drop list control in any application.
    Has anyone else started experiencing this problem?
    Message was edited by: bmm727
    Message was edited by: bmm727

    I'll throw out some other ideas.
    A. System wide freak-outs can also be caused by bad or duplicate fonts installed or important fonts missing. Open Font Book and see if any fonts have a dot next to them. If you move or change fonts that are necessary for apps you get many problems.Here is a list of necessary fonts. The system fonts will not allow you to move them so it probably is not one of them. You can also try cleaning the system and font caches using Onyx.
    B. Incomplete upgrades can leave your system in a mess. It would be easier to archive and install then to try and figure out what pieces you are missing.
    C. I would also suspect any third party utilities you have installed, especially in the System Preferences or that activate on start up.
    System Prefs:
    • Out of date utilities for your third party mouse. Try updating the utility.
    • Haxies for the system- try turning them off.
    D. Antivirus programs often cause more harm then good. Do you have any installed? On Windows machine I have used when your subscription expires the software cripples your system. The solution is to completely remove it or renew your subscription.
    E. If you are using a wireless mouse check the batteries.
    Kurt

  • List item/combo

    hi,
    anyone know how to programmatically invoke a list item ?
    thanx.
    n

    Andrew EJ
    Thanks, I hadn't thought of that and will bear it in mind. However, my current problem revolves around a non-mandatory item which is currently null. Forms does include a blank value in the list but puts it at the bottom, hence the bottom of the list is being displayed. I don't want to use your technique in this case because it will be updating the item with a value the user has not actually chosen. What I really want is the blank at the top. I will experiment with including a null in my list but I suspect forms might put another in at the bottom.
    As for opening the list automatically, I think I will experiment with changing the list style to tlist and increasing the vertical size when the user navigates to it.

  • Keystrokes in a Combo Box at next position

    Hi,
    a simple problem with a Combo Box (C/S 6i) but a great solution ? :
    In a Form there is a Combo Box with 3 values: { 'AA' | 'AB' | 'BB' }.
    The user wishes following selection principle:
         1. keystroke 'A' -> [ 'AA']
         2. keystroke 'B' -> [ 'AB'] that is it, ok.
    But the Forms Combo Box give us : ['BB'] - every keystroke in the Combo Box is defined on first position.
    Every keystroke in the Combo Box must define at next position in the item here.
    Can I latch the keystrokes to define a workaround about a trigger or another solution ?
    Thank you,
    Friedhold

    Thank you Grant for your suggestion.
    The solution is with a 2. Item named ECHO:
    -- W-L-C Trigger --
    DECLARE
    total_list_count NUMBER(3);
    ix NUMBER(2)      :=      1;
    list_element      VARCHAR2(50);
    list_element_value      VARCHAR2(50);
    compare VARCHAR2(50):= :GEMARKUNG; -- INPUT - Item: Combo Box
    element_match      VARCHAR2(5) :=      'FALSE';
    list_id           ITEM;
    BEGIN
    -- List Item : Combo - Box --
    -- Restriction : List-value = List-element
    list_id:= FIND_ITEM('GEMARKUNG');
    total_list_count := Get_List_Element_Count(list_id);
    -- Compare the current list item elements with the element that
    -- will be added.
    LOOP
    list_element := Get_List_Element_Value(list_id, ix);
    IF UPPER(compare) = UPPER(substr(list_element,1,length(compare))) THEN
         element_match := 'TRUE';
         EXIT;
    END IF;
    EXIT WHEN ix = total_list_count;
    ix := ix + 1;
    END LOOP;
    -- IF matched then ECHO-Item := List_Element_Value --
    if element_match='TRUE' then
         :ECHO:= list_element;
    end if;
    bell;
    END; -- W-L-C Trigger --
    The user can see the founded value from the List Item (Combo Box) in the ECHO Item.
    Kind Regards
    Friedhold

  • Multi Selection in List Item

    Hi all,
    I'm using Oracle Forms 10g and i want to make a multi selection
    in List Item(combo box, poplist or tlist). If anybody can help plz.
    Thanks
    Charbel

    Hello,
    Go to the OTN Forms page then download the Forms demos. They contain a multi-select demo.
    Francois

  • List Item - Retrieve  occurances of pattern entered

    Hi,
    In Oracle Developer 10g, is it possible in list items (combo box style) to retrieve the first occurrence of the entered pattern automatically while typing down letter by letter. We can do this in a LOV . Please help
    May

    Hello,
    I don't think there is someting native for this.
    Francois

  • Analyzer 6.1 Combo-box list sort

    Does anyone know of an easy way to sort lists in combo-boxes (or check-boxes, etc...)? Thank you for your help.

    You may want to try the following.Make sure:1) you have sourced out anlayzer.sh script2) Use the set command to set the path and ICU_DATA3) Turn On ADM tracingessbase connection issue\unable to connect to essbase from analyzer 6.1Note____To Resolve:1. Verify the Essbase installation\API directories are on the machine.2. Verify the following "strings" have been appended to their correspondingEnvironment Variable for Analyzer and Essbase:(Examples below)For SOLARIS:Variable: STRING:ARBORPATH /opt/olap81PATH $ARBORPATH/bin:$PATHLD_LIBRARY_PATH $ARBORPATH/dlls:$ARBORPATH/bin:$LD_LIBRARY_PATHPATH /opt/hyperion/analyzer/adm/bin/solaris:$PATHLD_LIBRARY_PATH /opt/hyperion/analyzer/adm/bin/solaris:$LD_LIBRARY_PATHICU_DATA /opt/hyperion/analyzer/adm/bin/solaris/HssEssDriver/I had the similar error message and adding the above to the path resolved the issue.Regards,Peter Tupker

  • Importing a list into a combo box.

    I need to import several large lists into combo boxes in a form I am creating in AcrobatPro XI. I found the comboPopulateTest.pdf in another discussion; however, this only populates the items in the list. I need to import the Export Values associated with each item as well. Can the Java Script be modified to include two items on each line? I have tried but cannot get it to work -- I don't know if I have the correct name for the Export Values field, or if I'm doing something else incorrectly.

    It can be done with a script. Have a look at the setItems method of the Field object.

  • 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

  • Combo Box Valid Values Update

    Hi All,
    I'm developing a Form which has BP Code and a ComboBox which, after entering a valid Supplier in the BPCode EditText, updates the ComboBox with the Supplier Catalog Numbers of all the Items where the CardCode (in OITM) matches the BPCode.  I have this working for the first change of BPCode but when the BPCode changes I want to update the ComboBox ValidValues.  I have tried many methods but cannot remove the ValidValues which are already there.  I have tried linking the ComboBox to a DataTable, clearing the DataTable and rebinding but this doesn't seem to work either.
    Any help on removing ValidValues from a list when I don't know what is already there (as the VV list is now out of scope) or adding a data bound ComboBox would be most appreciated.
    Thanks in anticipation,
    David

    Hi David,
    Try following
            'get the reference to the state combo box
            oCombo = oForm.Items.Item("combo box unique id").Specific
            'remove existing items if any
            'before adding new items
            For Flag = 0 To oCombo.ValidValues.Count - 1
                oCombo.ValidValues.Remove(0, SAPbouiCOM.BoSearchKey.psk_Index)
            Next
    After this, use a recordset or datatable to retrieve the records, and than a loop to add valid values to the combo box.
    Rahul

  • Distinct dataset for selection combo box

    Hi,
    I have a dataset displayed on my page with paging and
    dependant detail region as well as filter functions. Works like a
    charm. For a visual look
    here
    My issue is this: To enable the filter with drop down select
    list (aka combo box) shown in the picture I implemented the
    following code
    var transactlist_xml = new
    Spry.Data.XMLDataSet("transactlist-xml.php",
    "export/row",{sortOnLoad:"account",sortOrderOnLoad:"ascending",useCache:false,loadInterva l:60000});
    var accounts_xml = new
    Spry.Data.XMLDataSet("transactlist-xml.php",
    "export/row/account",{sortOnLoad:"account",sortOrderOnLoad:"ascending",distinctOnLoad:tru e});
    The first dataset selects the data for the entire list, the
    second for the combo box. It works alright, but I deam it to be
    very inefficient. I have to call the php script that does the data
    selection twice, which means double the database load. Not good.
    Since I have selected all the data I need in the first statement,
    is away I can reduce the number of direct source reads and costruct
    the second dataset out of the first?
    I tried
    var accounts_xml = transactlist_xml.distinct();
    with no success, as transactist_xml has all the fields still
    included, so clearly the rows will not be distinct.
    Any suggestions/thougts?
    Any hint is appreciated.
    Hanno Schupp

    "How to Use The Focus Subsystem"
    http://java.sun.com/docs/books/tutorial/uiswing/misc/focus.html

Maybe you are looking for

  • Error 400 when trying to access management portal

    Hi When i go to windowsazure.com and click portal in the top navigation bar, i am sent to login. When i try to login with my Microsoft account, i am sent to an error message stating that: 400 The server does not understand the request. This happens f

  • Source system in Import manager

    Hi Folks, We have configured XI for R/3-MDM. When we are importing XML file from the XI folder in to the import manager we are getting all techanicals name in the source system Like IDOC_ATTR_BEGIN,IDOC_E1LFA1M_ADNR.. But we need in normal name such

  • How to create a photo gallery so photos on the page can be scaled? [was: Flash CS6]

    Hello! I have a schoolproject where I am going to make a photogallery to pur inside a dreamweaver page. I know how to make the actuall gallery, but the difficulty part is that I have to make it so you can scale the photos when they are on the page. D

  • Drive C almost full and Drive E empty

    I bought this 1TB PC primarily for gaming. It's brand new, I did not partition any drive or do any configuration. Just installed some games, then when I tried to install Microsoft Office, I was told there is insufficient space. When I look at my syst

  • Validation error when using a cutsomer converter

    Hey i'm trying to use a customer converter to convert between an object and a string, i can get it to display but when i submit my form i get the error Validation Error: Value is not valid. Here is my jsp code <h:selectManyCheckbox value="#{AddModule