SELECT LIST versus POPUP LOV

I have a form that currently has several fields defined as SELECT LIST, which works great when the list of items to be selected is small. However, one of the fields is a list of employees, which will be > 300, and I was thinking of using the POPUP LOV option. Mainly because of the Search capability - would like to just list those employees that are entered into the Search to show up in the list.
I have tried the POPUP LOV within a CREATE record form (using Auto Row Processing and Database Columns), and it pops up showing a list of employees (using the same SELECT statement as used when it was a SELECT LIST). So far, so good. When I select an employee, the employees name shows up in the field in grey text. So far, so good. However, I do not get anything helpful when I enter anything into the Search box. I just get a "The page cannot be displayed" in the window. Basically I am unable to search. Bummer.
However, when I look at the record that I just created, I do not see the employees name in the field anymore, I just see the employee's ID. I also get the following error message:
"Error: ORA-00904: "SESTAFFID": invalid identifier performing List of Values query: "select Employee, SEStaffID from ( SELECT ec.ename || ' - ' || s.site_name "Employee", wss.wss_id "SEStaffID" FROM wiser_se_staff wss, vw_emp_contact@WISER_SA ec, vw_site@WISER_SA s WHERE wss.staff_emp_id = ec.empid AND wss.staff_sch_location = s.site_id AND ((:P205_REF_RECD_BY_ID IS NOT NULL AND :P205_REF_RECD_BY_ID = wss.wss_id) OR :P205_REF_RECD_BY_ID IS NULL) ORDER BY ec.ename, s.site_name) wwvlovinlineviewname where SEStaffID = :WWV_LOV_RETURN_KEY_UTIL_1111". "
Dang, I hate it when that happens. I have not been able to find any references to this error that would shed light on how to handle this error.
I followed the recommendation in the HTML DB User's Guide for Popup LOVs (Table 6-7 Available Item Types), to no avail.
The SELECT statement that is being used is:
SELECT ec.ename || ' - ' || s.site_name "Employee",
wss.wss_id "SEStaffID"
FROM wiser_se_staff wss,
vw_emp_contact@WISER_SA ec,
vw_site@WISER_SA s
WHERE wss.staff_emp_id = ec.empid
AND wss.staff_sch_location = s.site_id
AND ((:P205_REF_RECD_BY_ID IS NOT NULL
AND :P205_REF_RECD_BY_ID = wss.wss_id)
OR :P205_REF_RECD_BY_ID IS NULL)
ORDER BY ec.ename, s.site_name
I guess my questions are:
1) Why is APEX choking on the SELECT statement for the UPDATE and not the CREATE?
2) Why doesn't the SEARCH feature work, or probably more correct, what am I missing?
TIA

Scott,
Thank you for looking at this.
You are correct in your assumption - I was using the 'Popup Key LOV (Displays description, returns key value)' Display As option.
I have been able to isolate where the problem is. I reduced the 'List of values definition' to:
SELECT ec.ename || ' - ' || s.site_name "Employee",
wss.wss_id "SEStaffID"
FROM wiser_se_staff wss,
vw_emp_contact@WISER_SA ec,
vw_site@WISER_SA s
WHERE wss.staff_emp_id = ec.empid
AND wss.staff_sch_location = s.site_id
ORDER BY ec.ename, s.site_name
I then received the same error. So, I just changed the alias from "SEStaffID" to "SESID" and it then gave me the following error:
Error: ORA-00904: "EMPLOYEE": invalid identifier performing List of Values query: "select Employee, SESID from ( SELECT ec.ename || ' - ' || s.site_name "Employee", wss.wss_id "SESID" FROM wiser_se_staff wss, vw_emp_contact@WISER_SA ec, vw_site@WISER_SA s WHERE wss.staff_emp_id = ec.empid AND wss.staff_sch_location = s.site_id ORDER BY ec.ename, s.site_name ) wwvlovinlineviewname where SESID = :WWV_LOV_RETURN_KEY_UTIL_1111".
So, I then eliminated the concatenation that was part of the first field so that it was then 'SELECT ec.ename "Employee",' and left the rest of the SQL statement alone. I received the same error message. I then eliminated the "Employee", resulting in 'SELECT ec.ename,' and reran it - the LOV then worked properly, showing a list of employees, and I was able to search the list as expected.
There is something about using the alias on the fields that it just does NOT like.
I just did another test, and it appears it is just when the alias is on the first field that it chokes. I removed the alias from the first field, and left the alias on the second field, and the LOV worked just fine.
TIA,
Tom

Similar Messages

  • Problems with customizing select lists and popup LOVs

    Hi
    I have 2 problems about select lists and popup LOVs.
    The first one is about a select list in a tabular form.
    It should be created with APEX_ITEM.SELECT_LIST_FROM_LOV or similar and take its values from a named LOV.
    This worked fine but now it should also have the possibility to enter a free value.
    I tried to accomplish that by creating a APEX_ITEM.POPUP_FROM_LOV, but there is a problem with the function that is called by the arrow icon right to the input field (for eg. genList_f11_5()).
    If the row is added by addRow, then it works fine, but if the row is is not empty
    then the function call is like genList_f11_$_row() and the input field gets no value, when a LOV option is selected.
    The other problem is about a select list which should have the possibility to enter a custom value and
    also there should be the possibility to select several values. I tried to implement this by a text area containing the selected values and a multiple select list, with an event handler in each option. The user could click options and they would be copied to the text area. The problem is that I couldn't make the event handler work in IE.
    I would appreciate any ideas about either of these problems.
    Tiina

    Hi,
    If you download application you can see source.
    I have not write any instructions, sorry.
    If you are on Apex 4 you can just load jQuery UI autocomplete library and take ideas from my app.
    If you download my sample in zip there is uncompressed htmldbQuery library.
    You can see that and take only function htmldbAutocomplete.
    Then check jQuery UI document
    http://jqueryui.com/demos/autocomplete/#method-search
    There is method search that you can use open list just by click of input.
    I hope this helps at start.
    Regards,
    Jari

  • Select List and Popup LoV for one column

    Hello,
    is there a built-in functionality to show a select list and a popup lov for one column similar to "Condition Type" in the condition region when editing a page.

    Hello,
    No, you have to code that yourself. For instance by adding HTML in the Post Element Text field (like <IMG src=... />).
    Greetings,
    Roel
    http://roelhartman.blogspot.com/
    http://www.bloggingaboutoracle.org/
    http://www.logica.com/

  • Character string buffer too small (select list query based LOV)

    Hi,
    Using the select list query based LOV with a select witch is too big, you get this error.
    report error:
    ORA-20001: Error fetching column value: ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    When using the Popup LOV query based LOV) then it works nice.
    Can that be solved somehow?
    With the Popup LOV the return value is displayed in stead of the description.

    Hi Andy,
    How do I incorporate your suggestion on a report ?
    Example : I have
    select apex_item.display_and_save(1,column1,5) col1,
    apex_item.display_and_save(2,column2,5) col2 ,
    apex_item.popup_from_query(3, emp_name, 'select user_name, name  empname from table2) col3
    Table 2 is a long list , and I'm getting string buffer too small due to this.
    Your suggestion with HTP is good but I'm not sure how to implement it for reports as I'll like the user to change the values with the select_list.
    I'm not using forms as they want mulit-record on the same page.
    Hope to hear back from you soon.
    Thanks very much.

  • Select List (query based LOV) in a wizard created report form

    I have created an updatable report form with 3 columns:
    app_id
    user_id
    group_id
    Each app_id has multiple group_id's associated with it, and I want to show the group_id field as a Select List (query based LOV) that contains the groups associated with the app_id.
    My query for the select list needs to be similar to the following:
    SELECT DISPLAY_NAME, GROUP_ID
    FROM APPLICATION_GROUPS
    WHERE APP_ID = ?????
    ORDER BY 1
    The problem is, I don't know how to reference the app_id from the main report to replace the ?????.
    In other words, if my report returns 2 rows of data like this:
    app_id----------user_id----------group_id
    1-----------------24------------------3
    2-----------------24------------------15
    Then how do I get the group_id column to be a select list of possible groups for each application? If app_id 1 has 3 groups associated with it, 3, 4, & 5 and app_id 2 has 2 groups associated with it, 15 & 16, then those each of the select lists should be based on the app_id.
    Hopefully I explained this clearly.
    Thanks,
    Kris

    Leo,
    Thanks for the response, but I don't think you quite understand my problem. If I go to the Column Attributes screen for the group_id field, I have the "Display As" drop down set to "Select List (query based LOV)", not "Select List (named LOV)". This requires that the sql query be written in the "List of values definition" text area below. Within that text area I have the following query:
    SELECT DISPLAY_NAME, GROUP_ID
    FROM APPLICATION_GROUPS
    WHERE APP_ID = ?????
    ORDER BY 1
    The APP_ID that I need to reference is for the current row of data that is being processed. Therefore, I can't use a :PNNN_APP_ID variable, because that field does not exist on the page.
    Hopefully this explains it a little better.
    Thanks,
    Kris

  • Select List (based on LOV) query problem

    Hello experts! I have a small problem here, which I can't seem to overcome.
    I have a page item (select list based on LOV), which is based on a query. The query returns all potential employees of a department that are responsible for a certain duty. So far so good!
    The problem is that there are two departments, which should not only see there own employees but also the name of the employee that has carried out a certain task. However, due to my query, the name of that person is not displayed - only the pk is returned.
    Do you have a recommendation how I display all employees of a specific department and have additional values translated as well?
    My query is as follows: select str_bearbeiter, cnt_bearbeiter from vt_tbl_bearbeiter where cnt_bearbeiter in (SELECT
    CNT_REGIERUNGSBEZIRK FROM TBL_REGIERUNGSBEZIRK) union select str_bearbeiter, cnt_bearbeiter from vt_tbl_bearbeiter where int_behoerde in (SELECT
    CNT_REGIERUNGSBEZIRK FROM TBL_REGIERUNGSBEZIRK where STR_REGIERUNGSBEZIRK = lower (:app_user)) whereas :app_user holds the information of the department.
    Any hint is appreciated!
    Many thanks,
    Seb

    Okay, I just had the right idea and it's working well! Sorry for posting!
    I return the name of the employee that has edited a dataset and simply add all others of the logged on department! Really easy! Should have thought of that before posting! ;-(
    The correct code is select str_bearbeiter, cnt_bearbeiter from vt_tbl_bearbeiter a, vt_tbl_punktdaten b where a.cnt_bearbeiter = b.int_bearbeiter and
    inv_pt_id_sub = :P4_PTIDS
    union select str_bearbeiter, cnt_bearbeiter from vt_tbl_bearbeiter where int_behoerde in (SELECT
    CNT_REGIERUNGSBEZIRK FROM TBL_REGIERUNGSBEZIRK where STR_REGIERUNGSBEZIRK = lower (:app_user))Bye,
    Seb

  • OnChanger="get_ajax_select_xml(this);" with  select list (query named LOV)

    Hello,
    i used Vikas'example Re: cascading lov for tabular form
    i have a problem with Select list (query based LOV)
    when run tabular form i have the following error:
    report error:
    ORA-06502: PL/SQL: numeric or value error: character string buffer too small
    the number of rows of the Lov are 900
    the display variable is 70 char
    is there any limit?
    Thank in advance
    Costanti

    Leo,
    Thanks for the response, but I don't think you quite understand my problem. If I go to the Column Attributes screen for the group_id field, I have the "Display As" drop down set to "Select List (query based LOV)", not "Select List (named LOV)". This requires that the sql query be written in the "List of values definition" text area below. Within that text area I have the following query:
    SELECT DISPLAY_NAME, GROUP_ID
    FROM APPLICATION_GROUPS
    WHERE APP_ID = ?????
    ORDER BY 1
    The APP_ID that I need to reference is for the current row of data that is being processed. Therefore, I can't use a :PNNN_APP_ID variable, because that field does not exist on the page.
    Hopefully this explains it a little better.
    Thanks,
    Kris

  • Tabular form (select list Query based LOV)

    Hi all,
    I have this situation:
    a tabular form with two "select list (query based LOV)" fields.
    The first one must affect elements in the second one. And so the second query based LOV field should has a "where attr1 = first_list_selected_value" in the query.
    Is this possible ? Could you show me some advices ?
    thanks in advance.

    OK, thank you.
    But maybe I wasn't too clear.
    I need cascading LOV for each row of my tabular form.
    I have a EMP tabular form
    select
    "ROWID",
    "EMPNO",
    "ENAME",
    "JOB",
    "MGR",
    "HIREDATE",
    "SAL",
    "COMM",
    "DEPTNO"
    from "#OWNER#"."EMP" I need a Select List for DEPTNO for each record of table. After set a value, the second "Select List" for ENAME should be affected automatically.

  • Select List (query based LOV) in V. 4.1.1.00.23

    Hi guys,
    I am having some problems with an APEX application that I have exported from V. 4.1.0.00.32 and imported on V. 4.1.1.00.23.
    I have a Tabular Form region where I have a column which is Display As "Select List (Query based LOV)".
    If I add a new row - choose a new value (not the same as any of the above rows) and "Apply Changes"/"Submit" the value in the new row changes to the value of the 1. row of the tabular form :-( I can update this new row and then it saves the right value... It looks like it is only when inserting a new row.
    Is this a bug or is it a feature ;-)
    Hope you can help...
    /Rene

    Leo,
    Thanks for the response, but I don't think you quite understand my problem. If I go to the Column Attributes screen for the group_id field, I have the "Display As" drop down set to "Select List (query based LOV)", not "Select List (named LOV)". This requires that the sql query be written in the "List of values definition" text area below. Within that text area I have the following query:
    SELECT DISPLAY_NAME, GROUP_ID
    FROM APPLICATION_GROUPS
    WHERE APP_ID = ?????
    ORDER BY 1
    The APP_ID that I need to reference is for the current row of data that is being processed. Therefore, I can't use a :PNNN_APP_ID variable, because that field does not exist on the page.
    Hopefully this explains it a little better.
    Thanks,
    Kris

  • Chart based on Select list with submit Lov problem

    Hi,
    I have one page with interactive report showing username with links, date and
    database actions.
    Another page contains one region having flash chart based on select list with submit Lov.
    The lov is created by dynamic query.
    Every time when i click the 1st page report link, the 2nd page lov is populating the value automatically. But the problem is chart displays NO DATA FOUND message though the LOV has many values.
    I don't want to display any null values so set to NO for LOV
    I tried to write Before header computation (PL/SQL Function Body) to set the lov value, but the query is displayed as such.
    I don't want to assign any static default value also as the values are dynamic for every link.
    The following is my Before header computation of Select list with submit (Item name is p11_schema). (PLSQL Function Body)
    begin
    if :p11_schema is null then
    return 'select distinct owner schema1, owner schema2 from auditing
    where access_date=' || :p11_access_date
    || ' and username=' || :p11_username
    || ' order by owner';
    end if;
    end;
    This is my chart query.
    select null link, obj_name label, sum(sel_count) "Select", sum(ins_count) "Insert", sum(upd_count) "Update", sum(del_count) "Delete" from auditing
    where username=:p11_username
    and access_date=:p11_access_date
    and owner=NVL(:p11_schema, OWNER)
    group by owner, obj_name
    Example: If there more than one records in the lov, the graph should display the 1st record. When i select another record, the chart accordingly display the selected values. But inially it should not display "NO DATA FOUND" message.
    I tried using all the combinations of computation type for the lov, SQL query ( I could not use if conditon then), PLSQL expression, PLSQL function body. But it does not work out.
    Can anyone please help me out.
    Thanks.

    Hi Scott,
    Thanks for your reply.
    I found out the solution for this problem as below.
    But i did it in different way to tackle the dynamic query wich returns more than one record using rownum always the 1st record when it is empty instead of assigning constant (static) value like '1'. And i am returning LOV itself for both null or not null condition as below.
    Declare
    q varchar2(4000);
    begin
    if :p11_schema is null then
    q:='select distinct owner schema from auditing';
    q:=q || ' where username=:p11_username ';
    q:=q || ' and access_date=:p11_access_date ';
    q:=q || ' and rownum<2 order by owner';
    Execute immediate q into :p11_schema USING :p11_username, :p11_access_date;
    end if;
    return :P11_SCHEMA;
    end;
    Thanks.

  • Dynamically changing the select list in an LOV based on the login user

    We have a field in a form which is a combobox.The form is to be linked to different profiles of users.Based on the logged in user we would like to restrict the select list in the LOV.ie user1 should see a LOV which is different from that seen by user2.Is this possible.If so how can this be done?Kindly reply.
    Thanks & Regds,
    Jayanthi

    Thanks for ur reply.But my problem is that i have a table having details of some products which includes spareparts also(Name,id,price etc).In my form i have the combobox field which should have a list of these products which the user can select.Now depending on the user's profile he should see only his related products(One profile of users should view only the products but not the spares while the other should view only spares.)The details of both the products and spares are in the same table.we have a criteria to differentiate between the products and the spares.The LOV should display at run time, either products or spares depending on his profile as he logs in. Hope u understood my problem.
    Regds,
    Jayanthi
    Hello Jayanthi,
    I had a similar situation in my last project.
    While you can solve this by modifying your query, this will always come around as may be later some other criteria to restrict based on User/His Role/Something else. Hence I fixed it at design level itself. Though I can't give my situation I can tell you the solution applying my logic.
    Altering your Product Table and adding one more database Column say Product_Category and updating the table with Product Category =1 for Products and 2 for Spares. You can extend this further for other types.
    Create a new Table say User_Groups that will have
    Group_id
    Group_Name
    User_Id columns and will contain all the User ids inserted groupwise.
    Create one last Table Group_Product_Map
    That will have
    Group_id
    Category_id
    This will store each Group_Id followed by Category_id of Products to which these group members will have access to.
    Now write a database function getCategory( p_User) which will query User_Groups table to get Group_Id
    and further query Group_Product_Map Table based on group_id to get Category_Id.
    This function will return category_id.
    Huh!
    So your LOV will have a query as select *(or whatever) from Product where category_id = getCategory(portal30.wwctx_api.get_user)
    Hope this helps
    Madhav

  • Select list to popup list of values

    Hi
    i am doing without refresh by using two select list.
    as i choose class from first select list related section to that class comes into second list
    it is working fine .
    if i change item type select list to popup list of values.
    then it is not working fine
    what i change into code so that it works fine by using popup list of values.
    javascript-------------------------------------------------
    <script language="JavaScript1.1" type="text/javascript">
    function get_select_list_xml(pThis,pSelect){
        var l_Return = null;
        var l_Select = html_GetElement(pSelect);
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=CASCADING',1);
        get.add('SELECT1',pThis.value);
        gReturn = get.get('XML');
          if(gReturn && l_Select){
            var l_Count = gReturn.getElementsByTagName("option").length;
    l_Select.length = 0;
            for(var i=0;i<l_Count;i++){
                var l_Opt_Xml = gReturn.getElementsByTagName("option");
    appendToSelect(l_Select, l_Opt_Xml.getAttribute('value'),
    l_Opt_Xml.firstChild.nodeValue)
    get = null;
    function appendToSelect(pSelect, pValue, pContent) {
    var l_Opt = document.createElement("option");
    l_Opt.value = pValue;
    if(document.all){
    pSelect.options.add(l_Opt);
    l_Opt.innerText = pContent;
    }else{
    l_Opt.appendChild(document.createTextNode(pContent));
    pSelect.appendChild(l_Opt);
    </script>
    application process------------------------------------
    BEGIN
    OWA_UTIL.mime_header ('text/xml', FALSE);
    HTP.p ('Cache-Control: no-cache');
    HTP.p ('Pragma: no-cache');
    OWA_UTIL.http_header_close;
    htp.prn('<data>');
    HTP.prn ('<select>');
    HTP.prn ('<option value="' || 1 || '">' || '- All Section -'|| '</option>');
    FOR c IN (select DISTINCT(section) ,CLASS_ID from class_details where class_id=:SELECT1 ORDER BY SECTION ASC)
    LOOP
    HTP.prn ('<option value="' || c.section || '">' || c.section || '</option>');
    END LOOP;
    HTP.prn ('</select>');
    htp.prn('</data>');
    END;
    calling statement-------------------------------------------------
    onChange="javascript:get_select_list_xml(this,'P134_SECTION');"
    Thanks & Regards
    Vedant                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                               

    I haven't tried this, but check
    How to remove basic/advanced button in inputListOfValues search dialog
    This does not have complete solution, but might give you some lead.

  • Javascript error on List Manager (Popup LOV)

    Hi all,
    I have a problem with checkboxes and list managers (based on popup LOV).
    I have a form containing several checkboxes and list managers; in a region of the form (the one before the last one) I have 10 checkboxes but just the first one work, the other ones give me this error when I tried to insert a record:
    ORA-20001: Errore in DML: p_rowid=21, p_alt_rowid=ID, p_rowid2=, p_alt_rowid2=. ORA-20001: Valore numerico :1 non valido per la colonna EDUCATION (it's italian, the translation for the last part is "numerical value :1 not valid for the EDUCATION column).
    Furthermoe, I have problems with list managers too: when I open the popup for some of them and choose the value from the popup window, I get a Javascript error: "Obejct doesn't support this property or method"; some (just some) of the list managers works.
    The strange thing is that if I delete a list manager or a checkbox, another list manager or checkbox starts to work, as if it was a rule about the max total number of list manager/checkboxes.
    I want to highlight that the total number of items in the form is less than 100.
    Thanks a lot in advance for your help.
    Cheers,
    Matteo

    Hi,
    The issue is because Apex actually generates TWO items for each List Manager items and both of these count towards the maximum of 100 items per page. As an example - this is ONE list manager item from my test page:
    &lt;fieldset id="P222_LM1" class="listmanager"&gt;
    &lt;table cellspacing="0" cellpadding="0" border="0" summary=""&gt;
    &lt;tbody&gt;
    &lt;tr&gt;
    &lt;td&gt;
    &lt;noscript&gt;
    JavaScript not supported
    &lt;/noscript&gt;
    &lt;script type="text/javascript"&gt;
    &lt;!--
    function filter_escape(in_value) {
                out_value = escape( in_value );
                return out_value;
            function genList0_p_v99_()
               w = open("wwv_flow_utilities.gen_popup_list" +
                           "?p_filter="  +
                           "&p_name=" + escape('p_v99') +
                           "&p_element_index=" + escape('') +
                           "&p_form_index=" + escape('0') +
                           "&p_max_elements=" + escape('') +
                           "&p_escape_html=" + escape('') +
                           "&p_ok_to_query=" + escape('YES') +
                           "&p_flow_id=" + escape('33642') +
                           "&p_page_id=" + escape('222') +
                           "&p_session_id=" + escape('2926501920944144') +
                           "&p_eval_value=" + escape('') +
                           "&p_translation=" + escape('NO') +
                           "&p_item_id=" + escape('6753181500127769527') +
                           "&p_lov=" + filter_escape('6753181500127769527') +
                           "&p_lov_checksum=5D6157CA388C164818106815D15EFFC6",
                           "winLovList",
                           "Scrollbars=1,resizable=1,width=400,height=450");
               if (w.opener == null)
                 w.opener = self;
               w.focus();
    //--&gt;
    &lt;/script&gt;
    &lt;fieldset id="P222_LM1_ADD_fieldset" class="lov"&gt;
    &lt;table cellspacing="0" cellpadding="0" border="0" id="P222_LM1_ADD_holder" class="lov" summary=""&gt;
    &lt;tbody&gt;
    &lt;tr&gt;
    &lt;td class="lov"&gt;
    &lt;input type="text" id="P222_LM1_ADD" value="" maxlength="2000" size="27" name="p_v99"/&gt;
    &lt;/td&gt;
    &lt;td&gt;
    &lt;a href="javascript:genList0_p_v99_()"&gt;
    &lt;img width="13" height="13" alt="Popup Lov" src="/i/list_gray.gif"/&gt;
    &lt;/a&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/tbody&gt;
    &lt;/table&gt;
    &lt;/fieldset&gt;
    &lt;/td&gt;
    &lt;td&gt;
    &lt;input type="button" onclick="appendToList(document.forms[0].p_v99.value.toUpperCase(), document.forms[0].p_v02);document.forms[0].p_v99.value=''" value="Add" name=""/&gt;
    &lt;input type="button" onclick="deleteListElement(document.forms[0].p_v02)" value="Remove" name=""/&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;tr&gt;
    &lt;td colspan="2"&gt;
    &lt;select id="P222_LM1_LISTMGRDATA" width="225" multiple="multiple" size="10" prompt="" name="p_v02"&gt;
    &lt;option&gt;8021
    &lt;/option&gt;
    &lt;option&gt;8001
    &lt;/option&gt;
    &lt;/select&gt;
    &lt;script type="text/javascript"&gt;
    &lt;!--
    gUtil.select.clean(document.forms[0].p_v02);
    //--&gt;
    &lt;/script&gt;
    &lt;/td&gt;
    &lt;/tr&gt;
    &lt;/tbody&gt;
    &lt;/table&gt;
    &lt;/fieldset&gt;Note that the popup item is p_v99 and the list item is p_v02.
    Question to the Apex developers:
    Given that the popup item does not really need to be submitted with the page, could this not use a different naming convention?
    Andy

  • Select List (Parent/Child) LOV

    I have the Easy Oracle HTML-DB book, they give an example of a
    Parent Child Select List using a query.
    Does anyone know how to apply the Parent/Child relationship with
    a List of Value generated from a table.
    Example
    Parent Child
    Car Pontiac
    Car Buick
    Car Cadillac
    Car Nissan
    Truck Tahoe
    Truck Silverado
    Truck F150
    Truck Titan
    The parent(s) in the above example are Car/Truck, the children are in the adjacent column.
    Objective: When the parent "Car" is chosen, only the "Pontiac/Buick/Cadillac/Nissan" will be available, once the child is selected,
    wish to submit to a empty table that can grow dynamically.
    OS: Windows: XP
    Oracle ver.: 10g
    Apex ver.: Release 2

    Hi,
    are you just having one table storing all the values?
    1) Create a "Select list with Submit"
    2) Lov query would be something like
    SELECT DISTINCT
           CAR_TYPE AS D
         , CAR_TYPE AS R
      FROM WHATEVER_TABLEThe distinct is only because you have mixed your parent and child values in one table instead of having two separate tables with a FK from the child to the parent.
    3) Create another "Select List"
    4) Lov query would be something like
    SELECT CAR AS D
         , CAR AS R
      FROM WHATEVER_TABLE
    WHERE CAR_TYPE = :P2_CAR_TYPE-> in the where clause you restricting the second lov with the value the user has selected in the first select list.
    The first "Select List with Submit" will trigger a full page refresh when you select a car type. If you want to avoid that you can use the AJAX based "Cascading Lov" feature of my ApexLib Framework (see http://apex.oracle.com/pls/otn/f?p=33231:4 ) or search on the forum for "cascading lov ajax" for other similar solutions.
    Patrick
    My APEX Blog: http://inside-apex.blogspot.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://sourceforge.net/projects/apexplugin/

  • HTMLDB 2.0 bug - tabular forms - select list from named LOV

    Hi!
    Changing a column in a tabular form to 'select list (named lov)' gets the following error in HTMLDB 2.0 when you try to add a row (to an empty table in my case):
    PL/SQL error at column 133.
    Create a table and then create a tabular form on it. Then change a report column to be a 'select list (named lov)'. Save and run the form and the error occurs.
    Thanks!
    Dave Venus

    Brian,
    This example:
    http://htmldb.oracle.com/pls/otn/f?p=31517:176
    and this example:
    http://htmldb.oracle.com/pls/otn/f?p=31517:160
    may help you.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

Maybe you are looking for

  • Can i switch on/off the automatic attachment preview in mail?

    Dear Communitie! I can not find the setting to switch on/off the preview of mail attachments in mail app. My colleagues can few the .pdf attachements direct in the preview area of there mail programm. I have to open the link's to see the complete .pd

  • Blackberry Desktop Software for Mac won't open

    I've downloaded the Blackberry Desktop Software for Mac to begin synching my new Torch but when I try to launch the software, I get the following message. "The document "BlackBerry Desktop Software.mpkg" could not be opened. TextEdit cannot open file

  • Can't burn CD in iTunes

    I can't burn a CD in iTunes. I know it's not a hardware problem because I just successfully burned a disc of photos using Finder, but every time I try to burn a playlist in iTunes, it hangs during the "Initializing" stage. The drive spins up frighten

  • Digital Signatures in SOAP

    Hi, I'm new to web services. I've setup Axis on Tomcat and I have it running. What I have is an encrypted msg which I would like to sign and then send the signature and msg via soap. Alternatively, I can just sign the digital msg in my own code and t

  • Is there a app for the ipad that lets you weight packets

    something that is free or is under 5.00 dollars