LOV on Form changes DB row values

I add a lov to a form and experience that the lov does not retain the value coming from the DB row but overrides it with what ever the lov presents first. A very strange default behavior, but what does a newbie know. Can anyone sugesst how to correct this behavior. Many thanks!

Nicholas,
How did you "add an lov to a form", exactly? Did you create a new item on the page like maybe a select list with the Source Type set to Database Column and the Source Used attribute set to "Always..."? If so, your LOV query may not be returning values that match those in the table.
Scott

Similar Messages

  • Adobe form - change particular row into bold

    Hi all,
    I have a requirement in adobe form, which i need to change the font into bold for the particular row in a table. For example i am displaying table which has two columns if the first columns values starts with 'A' then that particular row should be bold .Could you please help me to achieve this .
    Thanks in Advance.
    Col1           Co12
    eeee           123333
    www          545454545
    AAA           44545454
    eee              5454
    ADS            4545        
    sdd               fdfd
    Regards,
    satish

    check here: Re: Dynamic change of font in table
    Otto

  • Change marked row values

    Hi experts,
    In APO DP planning book I want to build a macro that changes the values (example : put to 1) of the marked row.
    Do you know how to do this ?
    Thanks in advance.

    Hi,
    You will have to check for each row in your planning book. For whichever row a 1 is returned, it means that row is marked. Based on this test result, you can go ahead and change the values. I am assuming that you know what to change already.
    So if the test returns 1. In the next line you can say Row Name = <value>. If it returns 0, it means the row is not selected and keep moving.
    Hope this helps.
    Thanks & Regards
    Mani Suresh.

  • How do you change a "row Label" in form central into an interactive text box?

    How do you change a "row Label" in form central into an interactive text box?  I need to leave some of the row labels plank so that people using the form can add some of their on labels.  Can this be done and if so how?

    I'm not quite sure I understand your question. Respondents (fillers of the form) cannot edit the label of a field.
    Randy

  • How to change the column value upto 68000 rows

    Hi,
    I want to change the column value.
    I have table called RefDoc
    Select distinct r.int_ref from refdoc r where r.int_ref like '\\dxb%'
    Int_Re__f
    \\dxb\Sample\BFE B777\2008\PO2025225.tif
    \\dxb\Sample\RO\SFR\26-01-2009j\RO2022098.pdf
    \\dxb\Sample\RO\SFR\26-01-2009j\RO2040831.pdf
    \\dxb\Sample\BFE B777\2008\PO2025253.tif
    \\dxb\Sample\RO\UM INV\26-01-2009\RO2018358.pdf
    up to 68000 rows
    I want to change to \\AUH instead of \\dxb.
    I want the table like
    Int_Re__f
    \\AUH\Sample\BFE B777\2008\PO2025225.tif
    \\AUH\Sample\RO\SFR\26-01-2009j\RO2022098.pdf
    \\AUH\Sample\RO\SFR\26-01-2009j\RO2040831.pdf
    \\AUH\Sample\BFE B777\2008\PO2025253.tif
    \\AUH\Sample\RO\UM INV\26-01-2009\RO2018358.pdf
    Thanks
    Nihar

    user REPLACE function and change it
    UPDATE refdoc
       SET int_ref = REPLACE(int_ref, '\\dxb\', '\\AUH\')
    WHERE int_ref like '\\dxb\%'

  • Tabular Form - Setting a default value just on first row.

    Hi all,
    how to set a tabular form default value only in the first row?
    When I click on "add row" I want the new row have a blank value.
    Thanks in advance.

    Hi,
    When you add a new row to the tabular form, any existing rows should be saved to the database. You can, therefore, check for the existence of such records and set the value of a hidden page item accordingly. The default value for a tabular form item can then be based on this hidden item.
    This can be done by setting the Source Used to "Always, ..." on the hidden item called, say, P1_DEPTNO_DEFAULT, and the Source to something like:
    DECLARE
    X NUMBER;
    BEGIN
    SELECT COUNT(*) INTO X FROM EMP WHERE DEPTNO = :P1_DEPTNO;
    IF X > 0 THEN
      RETURN '';
    ELSE
      RETURN :P1_DEPTNO;
    END IF;
    END;This is a "PL/SQL Function Body" Source Type.
    In this example, we are checking if there are any EMP records with a DEPTNO value that matches P1_DEPTNO. If there are, then the tabular form must contain at least one row already, so we return an empty string. If there are no records, the tabular form must be empty, so we return the P1_DEPTNO value.
    The Default settings on the DEPTNO column in the tabular form would then be:
    Default Type: Item (application or page item name)
    Default: P1_DEPTNO_DEFAULT
    Andy

  • Using multiple LOV popups in a multi-row updatable report but save to 1 col

    Hi,
    I'm trying to generate a multirow updatable report, which has only 1 writeable column. There is a read-only column that indicates the type of value that the writeable column should contain (it's a varchar2). The second column will be a LOV popup.
    I can create the report by setting the 2nd column to a LOV and it's fine, however I really want the LOV to be different, depending upon the value of the first column for the row.
    For example, if the first column is "list" then I want the popup to show all my "lists"
    If the first column is "role" then I want to the popup to show all my "roles".
    There will be a mixture of values within the entire rowset.
    I've so far managed to use a case statement to generate different LOV popups, which are displayed as required but the returned data isn't written back to the correct field.
    If I use the same p_idx value then there is only one javascript function created and it always stores the data in the first rows column.
    If I use unique p_idx values, then it works better but selecting a value for the 2nd row will store it there but also overwrite the 1st rows value as well.
    My SQL for the report currently looks like this (cut down for clarity)
    SELECT RULACTPRMIDD, /* PK */
    CASE PRMNME /* type */
    WHEN 'list' THEN
    APEX_ITEM.POPUPKEY_FROM_QUERY(2,rulactprmval,
    'SELECT LSTNME r, LSTNME d FROM LSTLST', 0)
    WHEN 'role' THEN
    APEX_ITEM.POPUPKEY_FROM_QUERY(2,rulactprmval,
    'SELECT ROLNME r, ROLNME d FROM PDRROL', 0)
    END dynamic_popup
    FROM CPNRULACTPRM
    I can't think of an example where i've seen this done within the Apex development environment otherwise I would refer you to that.
    An alternative option would be to pass the type of value required to the same LOV and then get the LOV query to only show the appropriate values - i'll look into this as a workaround option.
    thanks

    User478832,
    I didn't look thru all the code but I have a feeling your problem is the 9th line in the On Demand process. (the 9th line in this post anyway)...
    htp.prn('<option value="' || rec.cpc_name|| '">' || rec.cpc_name|| '</option>');
    You modified your query to get a different column but your returning the same column later: rec.cpc_name x2
    I assume you want to display NAME and return ID so change it like this...
    htp.prn('<option value="' || rec.cpc_id || '">' || rec.cpc_name|| '</option>');
    Let me know if that helps...
    Dan

  • Addition of one column in LOV through Form Personalization

    Hi
    While approving a purchase order when we click on Forward check box the forward to field becomes enabled and it has the LOV containing employee names and employee numbers. I want to add another column in this LOV for employee positions through form personalization.
    Can any one guide me how to do this.
    Regards

    Hello,
    To set another LOV, you should change the property of your combobox, named LOV_NAME with Forms perso, but you need some PL SQL code to create a new LOV.
    See this example : [http://oracle.ittoolbox.com/groups/technical-functional/oracle-apps-l/custom-lov-using-custompll-883870]
    One pre-requisite is that your new LOV should have the same number of rows and the same datatype, so I'm afraid you won't be able to do this just using Forms perso
    Kind regards,
    Xavier

  • Custom tabular form for multi-row not saving data

    Ok, before anyone asks, yes, I did read the how-to:-)
    I have a custom tabular form, which I did cause I need to use popups and the popups that you can use in the wizard tabular form does not display the text but rather the value underneath it.
    It returns data rather nicely and when I go and update values I can tell it is changing the fields underneath. I put a process in that will display the values in text fields on the form (for one row only) and I see them changing from what is already there and with the proper values.
    However, when I do that the data that is displayed then gets reverted back to what it was previous to the update but reports that the process was successful.
    I have also tried to insert but that is basically doing the same thing. Can anyone guide me.
    SQL to generate the tablular form...
    SELECT x.sak_release_db
    , x.sak_object
    , x.sak_release
    , x.sak_participant
    , x.sak_csr
    FROM
    (SELECT htmldb_item.hidden(1,sak_release_db) sak_release_db
    , htmldb_item.popupkey_from_query(2, sak_object,
    'SELECT b.nam_schema||''.''||a.nam_technical as table_name , b.sak_object
    FROM system_object a
    , database_table b
    WHERE a.sak_object = b.sak_object') as sak_object
    , htmldb_item.hidden(4,sak_release) sak_release
    , htmldb_item.popupkey_from_query(5, sak_participant,
    'SELECT nam_first || '' '' || nam_last as name, sak_participant FROM co_participant') sak_participant
    , htmldb_item.popupkey_from_query(7, sak_csr,
    'SELECT external_id|| ''-''||id_split as co, sak_csr FROM co') sak_csr
    FROM release_db_xref
    UNION ALL
    SELECT htmldb_item.hidden(1,NULL) sak_release_db
    , htmldb_item.popupkey_from_query(2, NULL,
    'SELECT b.nam_schema||''.''||a.nam_technical as table_name , b.sak_object
    FROM system_object a
    , database_table b
    WHERE a.sak_object = b.sak_object') as sak_object
    , htmldb_item.hidden(4,NULL) sak_release
    , htmldb_item.popupkey_from_query(5, NULL,
    'SELECT nam_first || '' '' || nam_last as name, sak_participant FROM co_participant') sak_participant
    , htmldb_item.popupkey_from_query(7, NULL,
    'SELECT external_id|| ''-''||id_split as co, sak_csr FROM co') sak_csr
    FROM dual) x
    Process to verify that I have the correct global fields: (Type: PL/SQL anonymous block, Process Point: On Submit - After Computations and Validations)
    begin
    :P3_2 := replace(htmldb_application.g_f02(1),'%'||'null%',NULL);
    :P3_5 := replace(htmldb_application.g_f05(1),'%'||'null%',NULL);
    :P3_7 := replace(htmldb_application.g_f07(1),'%'||'null%',NULL);
    end;
    Process to do the insert/update. Note, I hardcoded the value in the where clause but I was originally using the global value for g_f01 (i also tried putting a commit in there for fun) (Type: PL/SQL anonymous block, Process Point: On Submit - After Computations and Validations):
    -- Update the RELEASE_DB_XREF table
    FOR i IN 1..htmldb_application.g_f01.count
    LOOP
    IF htmldb_application.g_f01(i) IS NOT NULL THEN
    UPDATE release_db_xref
    SET sak_object = replace(htmldb_application.g_f02(i),'%'||'null%',NULL)
    , sak_participant = replace(htmldb_application.g_f05(i),'%'||'null%',NULL)
    , sak_csr = replace(htmldb_application.g_f07(i),'%'||'null%',NULL)
    WHERE sak_release_db = 22;
    ELSE
    IF htmldb_application.g_f02(i) IS NOT NULL THEN
    INSERT INTO release_db_xref
    (sak_object
    ,sak_release
    ,sak_participant
    ,sak_csr)
    VALUES
    (replace(htmldb_application.g_f02(i),'%'||'null%',NULL)
    ,htmldb_application.g_f04(i)
    ,replace(htmldb_application.g_f05(i),'%'||'null%',NULL)
    ,replace(htmldb_application.g_f07(i),'%'||'null%',NULL));
    END IF;
    END IF;
    END LOOP;

    Florian,
    Checkboxes are different from other HTML form items. When you have a text box for example, there's always a value send to the server when submitting. Even if that value is NULL. When you have a checkbox however, you only get the value if the checkbox is checked. It's not posted to the server when it is not checked. That's the general behavior of HTML forms and not specific to Oracle HTML DB.
    When working with tabular forms in HTML DB, you can access your form values using the htmldb_application.g_f0x arrays. Now if you have for example 10 rows in your form, then you'll get ten elements in your array for text boxes, select lists, etc. For checkboxes however you'll only get as many elements as you have rows checked. If I read your update and insert code correctly, you're trying to use the checkbox arrays the same way you use the arrays based on other item types. My recommendation would be to use Yes/No select lists instead of checkboxes or at least use select lists initially to get it working and then work on properly processing the checkboxes.
    Some general information about working with checkboxes in tabuar forms can be found here:
    http://www.oracle.com/technology/products/database/htmldb/howtos/checkbox.html#CHECKBOX_IN_REPORT
    Hope this helps,
    Marc

  • Cascading LOV's in a multi row report

    Some while ago there was a great post about dependant LOV's, for ref. its this one:
    http://forums.oracle.com/forums/thread.jspa?messageID=1222153?
    I've been trying to do something very similar, but i'd like the code to work with display and return values, where the return val. is an ID, rather than in the old example it being the same as the displayed value, so looking at the original example, instead of:
    select val d, val r from manufacturer order by 1
    If we modified the table definition to this:
    CREATE TABLE MANUFACTURER
    ID NUMBER,
    VAL VARCHAR2(200 BYTE)
    we would have something like
    select val, id from manufacturer order by 1
    Not being a javascript guru, can anyone advise if the code can be modified to cater for this? I have had partial success in that the second LOV updates based upon the value in the first LOV, but when changes are saved, it still stores the displayed value rather than the return ID.
    For reference, i've modified the on demand process to this:
    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('<select>');
    for rec in (select cpc_name, cpc_id from ct_product_categories cpp, ct_page cp
    where cpp.cc_id = cp.cp_id
    and cp.cp_id = :TEMPORARY_ITEM) loop
    htp.prn('<option value="' || rec.cpc_name|| '">' || rec.cpc_name|| '</option>');
    end loop;
    htp.prn('</select>');
    end;
    I have 2 LOV's rather than the original examples 3, the first of which is defined as a simple query thus:
    select cp_name nm, cp_id id from CT_page order by 1
    This first query triggers the ondemand process defined above. The second query is simply:
    select cpc_name nm2, cpc_id id2 from ct_product_categories
    The javascript used in the region header is:
    <script type="text/javascript">
    function appendToSelect(pSelect, pValue, pContent) {
         var l_Opt = document.createElement("option");
         l_Opt.value = pValue;
         if(document.all){/* why is ie different ask bill */
              pSelect.options.add(l_Opt);
              l_Opt.innerText = pContent;
              else
              {l_Opt.appendChild(document.createTextNode(pContent));
              pSelect.appendChild(l_Opt);
    var g_subj_area=new Object;
    //var g_sales_reps=new Object;
    function replace_select_list(pSelect,pXML){
         var l_Count = pXML.getElementsByTagName("option").length;
         pSelect.length = 0;
         for(var j=0;j<l_Count;j++){
              var l_Opt_Xml = pXML.getElementsByTagName("option")[j];
              appendToSelect(pSelect, l_Opt_Xml.getAttribute('value'), l_Opt_Xml.firstChild.nodeValue)
    function get_ajax_select_xml(pThis)
    var l_Return = null;
    var l_td=$x_UpTill(pThis,'TD');
    var l_subj_area_2=l_td.nextSibling.getElementsByTagName('select')[0];
    var old_subj_area_2;
    if (l_subj_area_2.options.length>0) old_subj_area_2=html_SelectValue(l_subj_area_2);
    if (g_subj_area[pThis.value] && l_subj_area_2) {
    replace_select_list(l_subj_area_2,g_subj_area[pThis.value]);
    if (old_subj_area_2) html_SetSelectValue(l_subj_area_2,old_subj_area_2);
    else {
    var get = new htmldb_Get(null,html_GetElement('pFlowId').value,'APPLICATION_PROCESS=GET_SUBJ_AREA',html_GetElement('pFlowStepId').value);
    get.add('TEMPORARY_ITEM',pThis.value);
    gReturn = get.get('XML');
    if(gReturn && l_subj_area_2) { replace_select_list(l_subj_area_2,gReturn); if (old_subj_area_2) html_SetSelectValue(l_subj_area_2,old_subj_area_2);}
    g_subj_area[pThis.value]=gReturn;
    get=null;
    </script>
    And the javascript used in the region footer is:
    <script type="text/javascript">
    function getCellIndex(pRow,pCell){
         if (document.all){
              for(var i=0;i<pRow.cells.length;i++){
                   if(pRow.cells[i] == pCell){l_Count = i}
         }else{
              l_Count = pCell.cellIndex;
    return l_Count;
    function fire_onchange(){
         var td_subj_area_1=$x('SUBJECT_AREA_1');
         var l_cellindex=getCellIndex(td_subj_area_1.parentNode,td_subj_area_1);
         var l_table=$x_UpTill(td_subj_area_1,'TABLE');
         for (var j=1;j<l_table.rows.length-2;j++) {   
              var l_cell=l_table.rows[j].cells[l_cellindex];
              var l_select=l_cell.getElementsByTagName('select')[0];
              if (l_select && l_select.onchange) l_select.onchange();
    fire_onchange();
    </script>

    User478832,
    I didn't look thru all the code but I have a feeling your problem is the 9th line in the On Demand process. (the 9th line in this post anyway)...
    htp.prn('<option value="' || rec.cpc_name|| '">' || rec.cpc_name|| '</option>');
    You modified your query to get a different column but your returning the same column later: rec.cpc_name x2
    I assume you want to display NAME and return ID so change it like this...
    htp.prn('<option value="' || rec.cpc_id || '">' || rec.cpc_name|| '</option>');
    Let me know if that helps...
    Dan

  • Creating dynamic LOV in form builder 6i

    Hi All,
    I am new to form builder.
    I want to create dynamic lov, means
    Project type
    Client
    Work_type(thsi is also lov) ->> 1) Billable
    Reason (this is also lov) ->> 1) Billable
    Work_type(thsi is also lov) ->> 2) Non-Billable
    Reason (this is also lov) ->> 1) Fresher
    2) Project Manager
    As shown above, Suppose the project type is client then I will select either "Billable" or "Non-Billable" value.
    If I am selecting Work_type LOV as "Billable" then it should display "Billable" value in reason LOV
    or if I am selecting Non-Billable value from Work_type LOV then reason LOV will display the list of value as Fresher and Project Manager.
    Please help me, its very urgent.
    Thanks in advance.
    Regards,
    Bluetooth

    Bluetooth,
    This can be accomplished by creating two seperate record groups; one for Billable and one for Non-Billable. Then - in the WORK_TYPE When-Validate-Item (WVI)trigger - when the value is "Billable" you assign the Billable Record Group to your LOV or if the value is Non-Billable, then you assign the Non-Billable record group to your LOV. Your Record Group queries must return the same number of columns and the column names must match. If your record groups need to have a different number of columns and column names, then I would just use two seperate LOV's and assign them to the item accordingly. For example:
    /* Sample WVI trigger */
    DECLARE
      lov_id    LOV;
      item_id   ITEM;
    BEGIN
      lov_id := Find_LOV('YOUR_LOV_NAME');
      /* Option 1: Change Record Group of LOV */
      IF ( :YOUR_BLOCK.WORK_TYPE = 'BILLABLE' ) THEN
        IF ( Get_LOV_Property(lov_id, GROUP_NAME) != 'BILLABLE_RG' ) THEN
          Set_LOV_Property(lov_id, GROUP_NAME, 'BILLABLE_RG');
        END IF;
      ELSIF ( :YOUR_BLOCK.WORK_TYPE = 'NONBILLABLE' ) THEN
        IF ( Get_LOV_Property(lov_id, GROUP_NAME) != 'NONBILLABLE_RG' ) THEN
          Set_LOV_Property(lov_id, GROUP_NAME, 'NONBILLABLE_RG');
        END IF;
      END IF;
      item_id := Find_Item('YOUR_BLOCK.REASON');
      /* Option 2: Seperate LOV's */
      IF ( :YOUR_BLOCK.WORK_TYPE = 'BILLABLE' ) THEN
        IF ( Get_Item_Property(item_id, LOV_NAME) != 'BILLABLE_LOV' ) THEN
          Set_Item_Property(item_id, LOV_NAME, 'BILLABLE_LOV');
        END IF;
      ELSIF ( :YOUR_BLOCK.WORK_TYPE = 'NONBILLABLE' ) THEN
        IF ( Get_Item_Property(item_id, LOV_NAME) != 'NONBILLABLE_LOV' ) THEN
          Set_Item_Property(item_id, LOV_NAME, 'NONBILLABLE_LOV');
        END IF;
      END IF;Hope this helps,
    Craig B-)
    If someone's response is helpful or correct, please mark it accordingly.

  • Not a tabular form, but getting row version identifier error.

    APEX 4.1.0, Oracle 10g
    Error is: Current version of data in database has changed since user initiated update process. current row version identifier = "47FAF7A2C1A5E49E0CF90D1320CCFC50" application row version identifier = "0"
    I've seen this error in the forums for tabular forms, but my form is just a normal apex page with a standard fetch and a standard insert/update/delete process. It isn't a tabular form or a master/detail, just a simple form. There is not another person using the data. This happens on an update or delete and on several different pages for several different tables!
    I've tried using debug, and from debug, I see that the error comes right after this:
    ...Execute Statement: begin begin select "NARR_ID","TEXT","PRJ_PROJ_ID","NARR_TYPE_PROJ"
    into wwv_flow.g_column_values(1),wwv_flow.g_column_values(2),wwv_flow.g_column_values(3),wwv_flow.g_column_values(4)
    from "BASIS"."NARRATIVES" where "NARR_ID" = :p_rowid for update ; end; end;
    I more or less understand what the error is intended for. APEX produces a checksum of the table row values at some earlier point (maybe at the fetch?) and then produces another checksum of the table row values just before the update or delete. APEX then compares the two checksums.
    Based on the error message, one of the checksums is "0". I'm not sure if the "application row version identifier" is the first checksum or the second checksum, but either way it shouldn't be zero. Right? So, why would this checksum be zero?
    Edited by: JackieW on Apr 29, 2013 8:42 AM

    I upgraded to JDev 3.2 and rewrote my code to extend the new
    version of EditCurrentRecord. Now when I deploy to 9ias I get a new error:
    Error Message: java.lang.NullPointerException: I'm following the online help
    to deploy but I must be missing something cause it works in JDev. Any
    suggestions?

  • Dynamic Form in Tabular Form i.e SET VALUE

    Hi,
    I have an tabular form ,
    In which two column are there i.e username and department
    Just I wnt to know can dynamic action i.e SET VALUE CAN BE USED IN TABULAR FORM.
    AS I CHANGE THE USERNAME THERE PERSPECTIVE DEPARTMENT SHOULD CHANGE.
    can anyone help.

    Hello Trent,
    I too, am attempting to set the value of an item when another item is changed.
    I need to capture the APP_USER changing the row for each row changed in the tabular form when submitted.
    My table is in a remote database that is not allowed to have APEX loaded directly in the instance (or db link TO the APEX instance).
    Can’t get the APP_USER making the change at this level, as the APEX code is not there.
    The instance that hosts the APEX installation accesses the table via a view through a db link.
    Can’t use a trigger on the view to set the APP_USER using APEX functionality.
    Not desirable to re-invent the IUD wheel using instead-of triggers.
    The example you posted on http://apex.oracle.com/pls/apex/f?p=45448:11 is exactly what I need (even though your example sets the value on Lose Focus and I Set value on Change).
    I am attempting to implement the dynamic action for the item using your javascript, and am almost there....but not quite. The dynamic action is updating the target item in ALL the rows in the tabular form, not just the one that is being changed.
    This, I am sure, is due to my inexperience with Dynamic Actions, jquery syntax, and the javascript API’s for APEX. I believe I know what the issue IS, I’m just not sure how to work around it.
    Please note: I attempted to download your example at the above website (turning off popup blockers), but had no success (I got the thank-you for downloading message, but have no clue what was downloaded to where). I was hoping to compare your form Dynamic action with mine to see where I went wrong.
    If you could please, review the following and:
    1)     let me know what might be different from your working example?
    2)     provide info on how to get your working form downloaded (such a tease to have the download link there and not get it to work ;0} ) , please?
    The following shows the html from view source for a row in my tabular form. This will help you get an idea of the items. The actual number of rows in the form is about 50.
    <table cellpadding="0" border="0" cellspacing="0" summary="" class="report-standard">
    <tr class="highlight-row">
    <td headers="CHECK$01" class="data">
    <label for="f01_0002" class="hideMe508">CHECK$01</label>
    <input type="checkbox" name="f01" value="2" class="row-selector" id="f01_0002" />
    </td>
    <td headers="JOBNO_DISPLAY" class="data">X111Y2222</td>
    <td align="center" headers="DEPR" class="data">
    <label for="f03_0002" class="hideMe508">DEPR</label>
    <input type="checkbox" name="f03_NOSUBMIT" value="1" id="f03_0002_01"
    onClick="if (this.checked) {apex.jQuery('#f03_0002').val('1');}
    else {apex.jQuery('#f03_0002').val('');}" />
    <input type="hidden" name="f03" value="" id="f03_0002" /></span>
    </td>
    <td headers="UPDUSER" class="data">
    <label for="f04_0002" class="hideMe508">UPDUSER</label>
    <input type="text" name="f04" size="16" maxlength="2000"
    value="MOMSDAT" id="f04_0002" />
    </td>
    <td headers="DERIVED$01" class="data">MOMSDAT</td>
    <td headers="UPDDATE" class="data">13-DEC-11
    <label for="f02_0002" class="hideMe508">JOBNO</label>
    <input type="hidden" name="f02" value="X111Y2222" id="f02_0002" />
    <input type="hidden" id="fcs_0002" name="fcs"
    value="DB31F7B9ED99E6A2F7295F6B7D236409">
    <input type="hidden" id="frowid_0002" name="frowid"
    value="AAATI3AAGAAAAIXAAo" />
    <input type="hidden" id="fcud_0002" name="fcud" value="U" />
    </td>
    </tr>.....
    <tr>.....</tr>
    </table>
    To help explain:
    I have a checkbox associated with array name f03_NOSUBMIT,
    This checkbox OnClick updates a hidden item associated with array name f03. The hidden item is linked to the depr column of my view/table (this functionality is straight from Oracle’s tabular checkbox wizard – works great, no problems).
    When the check box is changed, I need to capture the APP_USER value in the UPDUSER field associated with the f04 array (nice that the array names matched up with your example :0} )
    To do so, I created a dynamic action:
    Name: Set_Upduser
    Sequence: 10 (it’s the only DA)
    Event: Change
    Select Type: jQuery Selector
    jQuery Selector: input[name=”f03_NOSUBMIT”]
    --note: the event does not fire if I use f03
    --since that value is not actually
    --changed until submit with this
    --method.
    Condition: - No condition –
    True Actions:
    Sequence: 10
    Action: Set Value
    Fire When Event Result is: True
    Fire On page Load: Unchecked
    Stop Execution On Error: Checked
    Set Type: JavaScript Expression
    JavaScript Expression:
    var row = $x_UpTill(this.triggeringElement, 'TR');
    var otherElement = $('input[name="f04"]',row)[0];
    otherElement.value = '&APP_USER.';
    Selection type: jQuery Selector
    jQuery Selector: input[name="f04"]
    This ALMOST works...
    When I run the page and click on just one check box, the UPDUSER fields are updated with the APP_USER for ALL the records, not just the row for the checkbox I clicked. And, if I submit the changes, ALL the records in the table now have the APP_USER in the UPDUSER column. Not just the column where the check box was changed (Which would be expected since all the values are changed in the form – hey, the submit part works :0} ).
    Your example at http://apex.oracle.com/pls/apex/f?p=45448:11 works, setting the value for the target field only for that row. If I can get mine to work the same way, I will be good to go (as in hog-heaven, doing the Snoopy Supper-Time dance).
    I am thinking my issue is with the row identification in the
    --- var otherElement = $('input[name="f04"]',row)[0];
    I seem to not be picking up the row value in the row var.
    Am I reading line correctly where 'input[name="f04"]' is pNd, and row is pValue? Read the description of the $x_UpTill API, not sure how this is working to identify pValue (Row?).
    Additionally, I am not sure what the [0] is for at the end of the otherElement var definition. I don’t see that listed with the $ JavaScript API parameters (Google wasn't much help there either).
    OR, am I missing something else?
    Once again, if you could:
    1) let me know what might be different from your working example? (What does yours have that mine doesn’t)
    2) Provide any info on how to get your working form downloaded at http://apex.oracle.com/pls/apex/f?p=45448:11. Please, please?
    As always, your assistance is greatly appreciated!
    Edited by: amckinne on Dec 27, 2011 5:29 PM
    Edited by: amckinne on Dec 27, 2011 5:33 PM

  • LOV button navigation in multi row block

    We have two fields in a multirow block, Role Type and Parent Role Type(which is a LOV button). When the current row selector is on a Role Type row all Parent Role Type LOV buttons for all the rows change only the current selected row. With Designer we set Keyboard/Mouse navigable properties to Yes(in the OLB) which fixed it but with Headstart these properties do not fix this problem. Any info and suggestions would be appreciated. Thanks.

    Ok, now I understand.
    Unfortunately, you have run into some standard forms behavior that doesn't work the way you want it to. The LOV button is not navigable, because your cursor needs to be sitting in the data item when the call to the LOV is made. Since this button is not navigable, the cursor will not move to the current record when you press the button. (Actually, the button is identical on each record.)
    Possible solutions:
    1 - use only 1 button in an overflow below. (Create your own action item instead of using the LOV button preference.)
    2 - don't use a button at all. (Headstart provides the LOV toolbar button.
    3 - Try generating the lov as a poplist. (See Oracle Designer online help).
    4 - Use the new Oracle Look and Feel (available only on the web) to create a button in the field ('...').
    Regards,
    Lauri

  • Tabular forms, referencing current row and using checkboxes

    I've searched through the whole forum and read over 50 threads on referencing other columns in a tabular form only to find this impossible. Many of these threads were outdated so I would like to ask it again.
    Can I use references between columns of tabular forms? So that value of one column equals the other's. (select a, b from c where d=othercolumn)
    How can I get a workaround for lack of checkboxes in dynamically created tabular forms? (Standard tabular forms come with checkboxes for deleting multiple rows, can they be used in the same way but without writing manual reports?)
    Please do not send me to
    http://htmldb.oracle.com/pls/otn/f?p=18326:54:17962256093711784584::::P54_ID:1282
    I am looking for strictly dynamic, apex-like solution. Thanks in advance.

    That supposed to be a query for LOV, should have mentioned that probably. By dynamically created tabular form I mean the wizard-created form which transforms query results into a form on the fly. I consider the HTMLDB_ITEM-style the manual way. After all, I'll probably stick to the manual method because I am creating this form on a view with INSTEAD OF triggers so the processing still needs to be done separately.
    The question I asked referred to the internals of tabular forms' processing, behind the screen wizards there has to be some loop based on the query, I just wanted to reference other columns on the current iteration. (wwv.g_f01(0) ?...)

Maybe you are looking for

  • Windows 7 virtual XP Mode impossible since Bootcamp 3.1

    I have installed Win 7 on to Boot Camp 3.0 on my macbook pro. Everything was fine and i could use +virtual XP Mode+ in Win 7 (Microsoft detect tool reported that my macbook was OK for assisted virtualization hardware). Then, i updated Boot camp to 3.

  • Installing SSD in 24" iMac (early 2009)

    I've been thinking about replacing my hard drive (I posted previously about this) and by looking around have noticed that SSDs have now come down in price a lot. Here in the UK there is a SanDisk 480GB Extreme SSD for 270GBP. I've heard that SSDs can

  • Mouse suggestions for FCP Studio2

    Hello, What is the best mouse to use with FCP Studio2 that is compatible with Leopard? Thanks for any and all help.

  • Multiple instances of "plugin container" running

    I have consistently had up to five instances of plugin container running in the background... * Windows Vista 32 bit build Ver 6.0 SP 2 * Firefox 4.0x So far nothing can be attributed to web browsing behavior. Thanks

  • Quality inspection for vendor wise

    Hi, My client is having a vendor in Hyderabad, he is a properitory vendor then  inspection isn't required while receiving the material.Another vendor is  in Bangalore, for this vendor inspection is required. But the material number is same for both t