Populating a calculated value on a Wizard generated Tabular Form

Hi
I have created a wizard generated tabular form, the form works great by itself.
However I also have a requirement to populate the column "Updated By" which will contain the :APP_USER and this needs to be done whenever any value is changed on the updatable columns on the tabular form.
How can I achieve this functionality ?
thanks in advance.
regards
Vivek

Hi Vivek,
There're different possibilities of doing it. By using a javascript function or a direct call.
Whatever you'll chose, you'll probably need something like: $x("P1_ITEM").value = 'Your value';
I believe you're using a tabular form, so you're items are called something like: f03_0001
Hope that helps,
Dimitri

Similar Messages

  • Default values & javascript in a manual tabular form

    Hello!
    I have a tabular form that presents a new row at the top of the report...my sql statement is in the form of:
      SELECT
      NULL EMPNO,
      NULL ENAME,
      NULL MGR,
      NULL SAL,
      NULL COMM,
      0 SORTITEM,
      'N' STATUS,
      '' MD5_VALUE
    FROM
      DUAL
    UNION ALL
    SELECT...etcI used to have default values defined in the report attributes but lost those when I started using the approach above.
    How do I reference the value of an item on the page, as a default value for the empty row? For example, if item :P60_EMPNO contains the working employee ID, I would like the EMPNO field in the empty row to be pre-populated with that value.
    Also, I used to have a javascript function that ran 'onkeypress' for a field in the new row, but now I'm not sure how to implement that with the new tabular form.
    Thank you!
    Tammy
    (currently using APEX 3.1.2)

    Hi Tammy!
    You can replace any of the NULL values in the SQL statement with your default values. The only condition would be that you should have at least one field that is NULL so that the process code knows that the user has not completed the record. In my example, I check:
    IF vSTATUS = 'N' AND vENAME IS NOT NULL THENSo, as long as status is 'N' and the user has not completed the ENAME field, the record will not be created - if, however, I set a default for ENAME, this IF test would be satisfied and, therefore, a new record would be created every time the page was submitted.
    What does the javascript do? The APEX_ITEM.TEXT() function allows for the inclusion of additional attributes for the INPUT tag that will be generated. See: http://download.oracle.com/docs/cd/E17556_01/doc/apirefs.40/e15519/apex_item.htm#CHDCDHJI
    In my example, I have:
    APEX_ITEM.TEXT(5, SAL, 7, 7, 'style="text-align:right;"') "Salary"Which adds the "style" attribute to the Salary INPUT item. You could do something like that to add in 'onkeypress="javascript:yourfunction(...);"'
    Andy

  • How to retain value in LoV item in Tabular Form, after Page Refresh

    Hi,
    I have a tabular form, which contains 2 items(columns), of type "Select List - named LoV".
    Now, 2nd item(column) in tabular form, that LoV should get populated based on user's selection value in first item LoV.
    1. So how do I refer to the value, that user selected in first item's LoV? I will have to use this value as reference in LoV query of my 2nd item ( on this tabular form)
    2. Everytime I select value in first item LoV, page gets refreshed, as my requirement is to calculate 2nd item's LoV based on selected value in first item. So after this page refresh, first item LoV loses its value that was selected before the page refresh happened. So how do i retain this value in first item LoV? I have an unconditional process, that on every submit(refresh) of page, I set all my items with their corresponding values. But problem is what do i mention there to refer to this first item ( of type LoV) of tabular form?
    I looked in view source of my page, this item is referred as f03.
    So i used "apex_application.g_f03", to set this item to its value, in my uncoditional submit process. But it did not work. I tried to refer this item as "f03" in this unconditional submit process. But still it did not help, the selected item loses its value after page refresh(submit).
    Please help.
    Thanks and Regards,
    Ravi.

    Hi Rave,
    You will have to use Javascript and Ajax to change the values as ApEx submissions will lose your results unless they are saved into the database.
    Remember, that as you are using a tabular form there will be lots of items called f01, fo2, fo3 etc on the page (one per row).
    Regards
    Michael
    Edited by: MKii on Jun 4, 2009 10:13 AM

  • Wizard for Tabular Form Region

    Is it possible to generate a tabular form using a wizard into a new region on an existing page where other regions of various types exist?
    I have a page with a region for capturing details of a call. There are other regions on the page that hold information relating to the call, e.g. reasons for the call, requirements of the call, and actions performed relating to the call. These are all one-to-many relationships from the call, with links between each other, i.e. an action can be linked to a particular reason for the call. This all works fine.
    What I would like to do is to replace some of the reporting regions (e.g. reasons,requirements and actions) with tabular forms (currently to modify entries in these reporting regions, I use the standard column link functionality to another page containing the maintenance form).
    Thanks.

    Hi,
    I have the same problem. Have you found a solution?

  • How to assign values to columns in a tabular form

    hello,
    my tabular form allows insert on a table.
    some of the fiels in that table are not null and are hidden from the user.
    before submitting a new row the hidden columns needs to get their values
    from a database function.
    is there a way to do it in a tabular form? and how?
    Thanks,
    Iris.

    HI,
    depends you can use a bunch of different approach, however if you want to use tabular forms note that if you change the qry on wich is based the tforms usually you get an error (if you read around the forum this is because the MULTI PROCESS ROW is built on a table the time you use the wizard).
    If you need this function to 'work' with null value go to
    Tabular Form Element
    --> pl/sql expression or function and call your function in the db.
    Under my opinion if you want to have more control build a tabular form of yours and write your DELETE / UPDATE / INSERT statement and build your tabular form / report using the APEX_ITEM synthax.
    You can use as well a checkbox and loop to build your multirow process (that conditionally process the checked item).
    And if you have a common rules for a specific table i suggest you to manage these rules directly on the that table using triggers.
    hope it helps

  • How to use Default value in a column in Tabular form in insertion or upda

    Hello,
    I am trying to use Default values so that user need not have to enter data, but when I select default type and put a default value, I see an error message, if I try to add a new row.
    How can I use a default value in a Column in a Tabular Form?
    Gouri
    Edited by: user1046395 on Apr 3, 2009 9:58 AM

    Gouri,
    You can just simply edit to each column's report attribute. For example,
    To set default date,
    Default Type: PL/SQL Expression of Function
    Default: sysdate
    To set default text,
    Default Type: PL/SQL Expression of Function
    Default: *'CLERK'*
    If you still have an error, what is the error message?
    Ittichai

  • Set value for user input in tabular form

    Hello all
    I have a tabular form wherein I want to set the length of values a user an enter into certain columns.
    For an example, column1 should only allow users to input a 5 digit number and no more. Column2 should only allow 6 digits and so on.
    Is this something that can be done? and if so, how?
    Thank you for any help -Trey

    Hi Trey,
    APEX doesn't support that out of the box, it always creates a HTML input item with a maxlength=2000. But have a look at the ApexLib Framework which supports a length property for tabular from fields. See http://www.inside-oracle-apex.com/2007/02/restrict-input-length-for-tabular-form.html and http://apex.oracle.com/pls/otn/f?p=44394:54 for details.
    Patrick
    My APEX Blog: http://www.inside-oracle-apex.com
    The ApexLib Framework: http://apexlib.sourceforge.net
    The APEX Builder Plugin: http://apexplugin.sourceforge.net/ New!

  • Select list null value issue - for filtering the tabular form report

    hello,
    I have a tabular form created on emp table and in the table their are entries for the employees who don't have a location, like it is null for some of the employees.
    Now I have created a select list item - for filtering the results based on location.
    my select query for select list item is
    select distinct location_name d,location_id r from emp order by 1
    -- so my select list contains all the distinct location_name including the null on my tabular form.
    so based on the selelcted value(in the select list), I am able to filter the results in my tabular form.
    but the thing is that when i try to select an null value from my select list - i am not able to filter my report - like its displaying all the records, its not filtering.
    can anyone help me out with this.
    thanks.

    Hi
    Try below select for LOV
    select distinct nvl(location_name,'No Location') d,nvl(location_name,'No Location') r from emp order by 1 And then change tabular from select where clause also use nvl(location_name,'No Location') like
    SELECT *
    FROM emp
    WHERE nvl(location_name,'No Location') = :Px_YOUR_ITEMBr, Jari

  • Displaying the column values of a wizard-generated form

    Hello,
    I created a Master-Detail page following the examples in the various Apex guides. The form is not working correctly, unfortunately. When I click the Add Row button a row is added at the bottom of the table. Once I enter data into that row and click the Apply Changes button I get an SQL Insert error. I understand error message; a hidden column is not getting populated. Having said all that, that is not my problem.
    My problem is understanding how APEX is storing the data it displays in the table so I can manipulate it to place a value into that hidden column.
    I read many posts about how data is stored in the fxx arrays. I've looked at my source and have seen values like f02, f03, f03_0004 and so on. So, I tried creating a report to display the contents of APEX_APPLICATION.G_F03(1). I created another report on the same page with the following SQL statement:
    SELECT 'Code: '||apex_application.g_f03(1) F1
    FROM DUAL;
    When I run the page, the second report shows this: ORA-06553: PLS-221: 'G_F03' is not a procedure or is undefined.
    Someone (I think Denes) suggest creating a process with the following PL/SQL to help locate the correct array:
    BEGIN
    wwv_flow.debug('******************************');
    wwv_flow.debug('*** STARTING MY DEBUG HERE ***');
    wwv_flow.debug('1: ' || APEX_APPLICATION.G_F01(1));
    wwv_flow.debug('2: ' || APEX_APPLICATION.G_F02(1));
    wwv_flow.debug('3: ' || APEX_APPLICATION.G_F03(1));
    wwv_flow.debug('4: ' || APEX_APPLICATION.G_F04(1));
    wwv_flow.debug('5: ' || APEX_APPLICATION.G_F05(1));
    wwv_flow.debug('*** ENDING MY DEBUG HERE ***');
    wwv_flow.debug('******************************');
    END;
    With that process in place, whenever I run the page I get an error that says ORA-01403: no data found. When I comment out the five lines that reference APEX_APPLICATION.G_Fxx the page runs, but I cannot see the remaining debug comments UNLESS I place the process to run before or after the Footer.
    I hope that all makes sense.
    So, what am I doing wrong about displaying the contents of the array that is storing the table?
    Respectfully,
    Leon

    You can't reference a package variable in a SQL statement like you do in:
    SELECT 'Code: '||apex_application.g_f03(1) F1
    FROM DUAL;
    You can only reference it in a PL/SQL block (like you did in a Before/After Footer process). If you try to use the variables before they are instantiated you'll get the no-data-found error.

  • Column value substitution in tabular form element attributes

    We started to discuss this at Re: Tabular form with Ajax
    I also mentioned this at Re: how to make only some rows editable in html db.
    but thought that this deserves its own thread.
    In Doug's sample Sudoku application in that thread, he uses #COLUMN# substitution in the Form Element Attributes and it works fine, but in my example page at http://htmldb.oracle.com/pls/otn/f?p=24317:219 I used the same technique and no matter what I do, the #COLUMN# substitution is not expanded by the Apex engine.
    This is driving me nuts, any ideas why it works in one application but not in another?
    Thanks

    Hm, you might be right.
    I copied your row template and modified it at http://htmldb.oracle.com/pls/otn/f?p=24317:219
    The styling looks terrible, not sure why, the template is simply
    <tr>
    <td class="t10data">#EMPNO_DISPLAY#</td>
    <td class="t10data">#ENAME#</td>
    <td class="t10data">#JOB#</td>
    <td class="t10data">#MGR#</td>
    <td class="t10data">#HIREDATE#</td>
    <td class="t10data">#SAL#</td>
    <td class="t10data">#COMM#</td>
    <td class="t10data">#DEPTNO#</td>
    </tr>I had a lot of trouble getting this to work because the wizard generated tabular form appends 2 hidden fields containing the PK and the row-checksum to the last (editable?) field on each row. If the last editable field has #COL# substitution, it expands the substitution and forgets to close the INPUT tag thus causing malformed HTML (I think this is a bug in the rendering engine).
    The readonly condition is sal>1000 which now works. The SAL>1000 fields are now readonly.
    But now the update process is broken. If I enter a number in the first blank SAL field (empno=3641) and click Submit, I get no errors but the change is not saved. Wonder why.
    Hopefully, Scott (Spadafore) will take mercy on our amateurish experiments and give us some definitive answers soon!
    Thanks.

  • How to use Ajax Get Multiple Values in Tabular form?

    Hi All-
    I am trying to use AJAX to get multiple values in tabular form by using Denes Kubicek's example in the following link -
    http://apex.oracle.com/pls/otn/f?p=31517:239:9172467565606::NO:::
    Basically, I want to use the drop down list to populate rest of the values on the form.
    I have created the example(Ajax Get Multiple Values, application 54522) on Oracle site -
    http://apex.oracle.com/pls/apex/f?p=4550:1:0:::::
    Workspace: iConnect
    login: demo
    password: demo
    I was able to duplicate his example on page 1 (home page).
    However, I want to use system generate tabular form to finish this example, and was not able to populate the data correctly.
    Page 2 (method 2) is the one that I am having trouble to populate the column values. When I checked application item values in Session, and the values seems to be populated correctly.
    This is what I have done on this page:
    1. Create an Application Process On Demand - Set_Multi_Items_Tabular2:
    DECLARE
      v_subject my_book_store.subject%TYPE;
      v_price my_book_store.price%TYPE;
      v_author my_book_store.author%TYPE;
      v_qty NUMBER;
      CURSOR cur_c
      IS
      SELECT subject, price, author, 1 qty
      FROM my_book_store
      WHERE book_id = :temporary_application_item2;
    BEGIN
      FOR c IN cur_c
      LOOP
      v_subject := c.subject;
      v_price := c.price;
      v_author := c.author;
      v_qty := c.qty;
      END LOOP;
      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 ('<body>');
      HTP.prn ('<desc>this xml genericly sets multiple items</desc>');
      HTP.prn ('<item id="f04_' || :t_rownum || '">' || v_subject || '</item>');
      HTP.prn ('<item id="f05_' || :t_rownum || '">' || v_price || '</item>');
      HTP.prn ('<item id="f06_' || :t_rownum || '">' || v_author || '</item>');
      HTP.prn ('<item id="f07_' || :t_rownum || '">' || v_qty || '</item>');
      HTP.prn ('</body>');
    END;
    2. Create two application items - TEMPORARY_APPLICATION_ITEM2, T_ROWNUM2
    3. Put the following in the Page Header:
    <script language="JavaScript" type="text/javascript">
    function f_set_multi_items_tabular2(pValue, pRow){
        var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
    'APPLICATION_PROCESS=Set_Multi_Items_Tabular2',0);
    if(pValue){
    get.add('TEMPORARY_APPLICATION_ITEM2',pValue)
    get.add('T_ROWNUM2',pRow)
    }else{
    get.add('TEMPORARY_APPLICATION_ITEM2','null')
        gReturn = get.get('XML');
        if(gReturn){
            var l_Count = gReturn.getElementsByTagName("item").length;
            for(var i = 0;i<l_Count;i++){
                var l_Opt_Xml = gReturn.getElementsByTagName("item")[i];
                var l_ID = l_Opt_Xml.getAttribute('id');
                var l_El = html_GetElement(l_ID);   
                if(l_Opt_Xml.firstChild){
                    var l_Value = l_Opt_Xml.firstChild.nodeValue;
                }else{
                    var l_Value = '';
                if(l_El){
                    if(l_El.tagName == 'INPUT'){
                        l_El.value = l_Value;
                    }else if(l_El.tagName == 'SPAN' && l_El.className == 'grabber'){
                        l_El.parentNode.innerHTML = l_Value;
                        l_El.parentNode.id = l_ID;
                    }else{
                        l_El.innerHTML = l_Value;
        get = null;
    </script>
    Add the follwing to the end of the above JavaScript:
    <script language="JavaScript" type="text/javascript">
    function setLOV(filter, list2)
    var s = filter.id;
    var item = s.substring(3,8);
    var field2 = list2 + item;
    f_set_multi_items_tabular2(filter, field2);
    4. Tabular form query:
    select
    "BOOK_ID",
    "BOOK",
    "SUBJECT",
    "PRICE",
    "AUTHOR",
    "QTY",
    "BOOK_ID" BOOK_ID_DISPLAY
    from "#OWNER#"."MY_BOOK_STORE"
    5. In Book_ID_DISPLAY column attribute:
    Add the following code to element attributes: onchange="javascript:f_set_multi_items_tabular2(this.value,'#ROWNUM#');"
    Changed to -> onchange="javascript:setLOV(this,'f03');"
    Now,  T_ROWNUM2 returns value as f03_0001. But, TEMPORARY_APPLICATION_ITEM2 returns as [object HTMLSelectElement]...
    Please help me to see how I can populate the data with this tabular form format. Thanks a lot in advanced!!!
    Ling
    Updated code in Red..

    Ling
    Lets start with looking at what the javascript code is doing.
    function f_set_multi_items_tabular(pValue, pRow){
      /*This will initiate the url for the demand process to run*/
      var get = new htmldb_Get(null,html_GetElement('pFlowId').value,
                              'APPLICATION_PROCESS=Set_Multi_Items_Tabular',0);
      if(pValue){
        /*If there is an value than submit item name with value*/
        get.add('TEMPORARY_APPLICATION_ITEM',pValue)
        get.add('T_ROWNUM',pRow)
      }else{
        /*Else set the item TEMPORARY_APPLICATION_ITEM to null*/
        get.add('TEMPORARY_APPLICATION_ITEM','null')
      /*Submit the url and te returned document is of type XML*/
      gReturn = get.get('XML');
      if(gReturn){
        /*There is something returned*/
        var l_Count = gReturn.getElementsByTagName("item").length;
        /*For all elements of the tag item*/
        for(var i = 0;i<l_Count;i++){
          /*Get the item out of the XML*/
          var l_Opt_Xml = gReturn.getElementsByTagName("item")[i];
          /*Get the id of the item*/
          var l_ID = l_Opt_Xml.getAttribute('id');
          /*Get the element in the original page with the same id as
          **the item we have in the XML produced by the ondemand process
          var l_El = html_GetElement(l_ID);
          /*Now get the value of the item form the XML*/
          if(l_Opt_Xml.firstChild){
            var l_Value = l_Opt_Xml.firstChild.nodeValue;
          }else{
            /*There is no value*/
            var l_Value = '';
          if(l_El){
            /*There is an element with the same id as the item we are processing*/
            if(l_El.tagName == 'INPUT'){
              /*The element is an input item just set the value*/
              l_El.value = l_Value;
            }else if(l_El.tagName == 'SPAN' && l_El.className == 'grabber'){
              /*If it is a span elment and has the class grabber
              **Then set the innerHTML of the parent to the value
              **and the id of the parent to the id
              l_El.parentNode.innerHTML = l_Value;
              l_El.parentNode.id = l_ID;
            }else{
              /*Else set the value as innerHTML*/
              l_El.innerHTML = l_Value;
      get = null;
    Now where it went wrong in your initial post
    The XML that was returned by your XML process would be something like
    <body>
      <desc>this xml genericly sets multiple items</desc>
      <item id="f02_1">CSS Mastery</item>
      <item id="f03_1">22</item>
      <item id="f04_1">Andy Budd</item>
      <item id="f05_1">1</item>
    </body>
    When you don't use apex_item to create your tabular form a item in the table will look like
    <input id="f02_0001" type="text" value="CSS Mastery" maxlength="2000" size="16" name="f05" autocomplete="off">
    Notice the id's f02_1 and f02_0001 don't match.
    So to make it work the XML would have to look like
    <body>
      <desc>this xml genericly sets multiple items</desc>
      <item id="f02_0001">CSS Mastery</item>
      <item id="f03_0001">22</item>
      <item id="f04_0001">Andy Budd</item>
      <item id="f05_0001">1</item>
    </body>
    To do that simply use lpad in the ondemand process like
    HTP.prn ('<item id="f02_' || lpad(:t_rownum,4,'0') || '">' || v_subject || '</item>');
    HTP.prn ('<item id="f03_' || lpad(:t_rownum,4,'0') || '">' || v_price || '</item>');
    HTP.prn ('<item id="f04_' || lpad(:t_rownum,4,'0') || '">' || v_author || '</item>');
    HTP.prn ('<item id="f05_' || lpad(:t_rownum,4,'0') || '">' || v_qty || '</item>');
    Keep in mind that the above is based on your original post and #ROWNUM# not being lpadded with zero's.
    Nicolette

  • 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

  • How to Set Default Value into a Tabular Form Element

    Hi,
    Hoping someone can assist with my Tabular Form query.
    I am using Oracle ApEx v3.0.1
    I was wondering how one can set a default value to one of my tabular form columns within Oracle ApEx v3.0.1 as I cannot see how to do it?
    Thanks.

    Hi Tony
    can you pl. help me how you resolve this? I have one tabular form and I am trying to set default value as :APP_USER, I type this in default value but somehow it is not displaying this value.
    thanks
    Dax

  • In query ( * )asterisk sign is populating instead of values.

    Hi,
    In a Bex Query,i have currency & units in key figures(it is calculated Key Figure),output is populating as(*)instead of values for some records.Many records it is populating the correct value.I have tried Currency conversion also but all the currency are converting in to one currency...so output is not matching the task.
    How to solve this issue?

    If you are running your query on the Web, you can right-click on () and choose "Explain Key Figure" or something like this from pop-up menu. This should help you to find KFs causing your () value.
    Regards,
    <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/u/37289">vitaliy</a>

  • Editing a textbox with a calculated value?

    I am just wondering if there is a way for the user to edit a textbox that has been populated by a calculated value. I have a textbox (Score) that sums up the numerical answers provided by the user to a set of questions. If they leave a question blank, the score should not be calculated. Is there a way to do this, or at the very least, change the answer in the Score textbox? Right now when I try to change the answer in the Score textbox, it reverts back to the calculated answer.

    =INDIRECT(ROMAN(MONTH(TODAY()))&"::B2")
    I don't know what problem you are having with table names that use regular digits. If your table was named "3" instead of "III", the formula would be:
    =INDIRECT(MONTH(TODAY())&"::B2")  which, on the day ofthis post, corresponds to 3::B2

Maybe you are looking for

  • Tax amount line item with Business area in Billing Doc generating to A/cing

    Hi, While generating the Billing Doc, for the Tax amount line item , the Business area shd be populated. How this can be done? while  for the othter line items it is displaying but not for the tax amount line item.

  • Inbuilt protection from viruses, etc.

    I'm going to refer to a discussion that appeared in Apple Support Communities > Desktop Computers > iMac (Intel) > Discussions entitled "slow start up on my macbook pro (gray screen)" (https://discussions.apple.com/message/19137371#19137371), in whic

  • PI 7.1- Message going thru Integration Engine

    Scenario: ECC<-----SoapAdapter(Synch)> PI7.11 <JDBCAdapter(Synch)-- >OracleDatabase Use of Local Processing required in this project. I've successfully completed Design work and then completed Integrated Configuration (all those tabs, Inbound process

  • Applying settings preset to multiple images in ACR v4.3

    When attempting to apply a preset to multiple images in ACR, the preset is only applied to the "current" or "active" image. The other images in the thumbnail pane remain unchanged, even though they are selected. This function works correctly in Bridg

  • Applying Effect to Multiple Clips?

    Hi, Is there a way within Final Cut Express to apply a single effect such as Chroma Keyer to multiple clips? I've seen this done with Final Cut Pro but can't seem to replicate it in FCE. Thanks for your help.