Export tabular form contents to javascript array

How is it possible to export the contents of a tabular form to an javascript or a visual basic script array?

If FOO is one of the column headers in the tabular form
var th=html_GetElement('FOO'); // Gets the DOM node for the TH
var t=html_CascadeUpTill(th,'TABLE'); // Gets the DOM node for the TABLE
for (var j=1;j<t.rows.length;j++) {
  var l_row=t.rows[j];
  for (var k=0;k<l_rows.cells.length;k++) {
    // Do whatever with the TD node at l_row.cells[k]
}

Similar Messages

  • How to capture number of tabular form rows in javascript

    Greetings All -
    I have a tabular form that I created manually.
    I am looking for a way in javascript to capture the number of rows that are displayed on the page.
    Is this possible?
    Regards,
    Mark

    Bill -
    Thank you for the reply.
    I had thought of your suggestion but I was unsure where I could execute the apex_application.g_fxx.count command without submitting the page.
    I cannot do this on a submit, because I need to now the number of rows displayed in order to do a calculation while entering a row on a manually created tabular form
    Suggestions appreciated
    Regards,
    Mark

  • How to fetch the value of tabular form item in javascript

    Hello all
    I want to do some calculations on the value entered by the user in the textfield of a tabular form, how can I fetch the value of tabular form item in the javascript?
    I am using normal tabular form, not using apex_item tabular form.
    I can pass the current textfield value to the function using "this" as a parameter, but how can I fetch the value of other rows of that same column?
    Thanks
    Tauceef

    Hi Alistair
    jQuery is still not working, but I got it done through some other means, this is the code:
    function total(pThis){
    var l_Row = html_CascadeUpTill(pThis,'TR');
    var l_Table = l_Row.parentNode;
    var l_Row_next = l_Row;
    var n_rows = l_Table.rows;
    var lInputs;
    var v1;
    var sum = 0.0;
    var temp;
    var i = 0;
    var j = 0;
    //alert(n_rows.length);
    while(j < (n_rows.length - 1))
    temp = 0;
    if(l_Row_next != null){
    lInputs = html_Return_Form_Items(l_Row_next,'TEXT');
    v1 = lInputs[0].value;
    //alert(v1);
    sum = parseFloat(sum) + parseFloat(v1);
    l_Row_next = l_Row_next.nextSibling;
    temp = 1;
    if(temp == 0){
    l_Row_next = l_Table.getElementsByTagName('TR')[1];
    lInputs = html_Return_Form_Items(l_Row_next,'TEXT');
    v1 = lInputs[0].value;
    sum = parseFloat(sum) + parseFloat(v1);
    l_Row_next = l_Row_next.nextSibling;
    j= j+1;
    $x('P78_TOTAL').value= parseFloat(sum);
    I am calling this function onblur event of the textfield.
    Still I am having one problem, I want to perform this calculation on load of the page also, how can I do that? because while calling onblur of the textfield I can pass that textfield to this function but on onLoad how I will pass the textfield to call this function so that I will be able to get the textfield value in the function?
    there may be some rows already existing, so I want the total of the existing rows to be displayed in my P78_TOTAL textfield that is why I need to do this calculation on onLoad of the page.
    Thanks
    Tauceef
    Edited by: Tauceef on Jul 8, 2010 4:57 AM

  • Exporting Tabular Form to Excel

    Hi all,
    i create a tabular form on a table and i update only one field that can assume value of Y and N so i use a LOV with definition Si;Y,No;N
    my need is to export this in excel ( CSV ) but this error messages are raised:
    ORA-06550: line 1, column 49: PLS-00103: Encountered the symbol "," when expecting one of the following: := . ( @ % ; The symbol ":= was inserted before "," to continue.
    ERR-1000 Unable to determine LOV from "declare function x return varchar2 is begin Si;Y,No;N return null; end; begin wwv_flow_utilities.g_query := x; end;".
    report error:
    ORA-20001: Error fetching column value: ORA-20001: Query must begin with SELECT or WITHI also exclude the field from export but nothing change.
    Thanks for any help or suggestions.
    Alex

    Hi all,
    i find this solution by myself :
    - in the Colum Attributes -> Tabular Form Element
    - set Display As -> Select List (query based LOV)
    - in List of value -> List of value definition i use this query
    select 'Yes' display_value, 'Y' return_value from dual
    union
    select 'No' display_value, 'N' return_value from dualand the update is working
    and the export is working
    Thanks to all

  • Page level process doesn't works for tabular form.....

    I am developing an application on inventory of an chemical factory.......
    I have an master-detail form where detail table is in tabular form.......
    I have an LOCATION1 AND QUANTITY1 COLUMN in detail table..........
    I have location say...LT01A02 AND limit of each location to hold an quantity is .....say 1000.
    I wrote an process for these but it doesn't work.......
    declare
    x NUMBER(6);
    z number(6);
    begin
    selecT NVL(SUM(QUANTITY1),0) INTO x from RM_LOCATION1 where LOCATION1 = :P3_LOCATION1;
    z := x;
    if :P3_LOCATION1 LIKE'%1)' or :P3_LOCATION1 LIKE'%2)' then
    if z > 1200 then
    raise_application_error(-20101,'LOCATION YOU HAVE SELECTED IN LOCATION1 IS 1ST OR 2ND PALLETE ,WHICH CAN HAVE MAXIMUM 1200KG,PLEASE CHECK IT PHYSICALLY');
    end if;
    elsif :P3_LOCATION1 LIKE'%3)' or :P3_LOCATION1 LIKE'%4)' then
    if z > 800 then
    raise_application_error(-20101,'LOCATION YOU HAVE SELECTED IN LOCATION1 IS 3RD OR 4TH PALLETE ,WHICH CAN HAVE MAXIMUM 800KG,PLEASE CHECK IT PHYSICALLY');
    end if;
    elsif :P3_LOCATION1 LIKE'%5)' or :P3_LOCATION1 LIKE'%6)' then
    if z > 750 then
    raise_application_error(-20101,'LOCATION YOU HAVE SELECTED IN LOCATION1 IS 5TH OR 6TH PALLETE ,WHICH CAN HAVE MAXIMUM 750KG,PLEASE CHECK IT PHYSICALLY');
    end if;
    elsif :P3_LOCATION1 LIKE'%7)' or :P3_LOCATION1 LIKE'%8)' OR :P3_LOCATION1 LIKE'%9)' or :P3_LOCATION1 LIKE'%10)' OR :P3_LOCATION1 LIKE'%11)' or :P3_LOCATION1 LIKE'%12)' then
    if z > 600 then
    raise_application_error(-20101,'LOCATION YOU HAVE SELECTED IN LOCATION1 IS 7TH OR 8TH OR HIGHER PALLETE ,WHICH CAN HAVE MAXIMUM 600KG,PLEASE CHECK IT PHYSICALLY');
    end if;
    end if;
    end;
    I HAVE SEEN THAT APEX DOESN'T PICKS VALUE CALLED... _:P3_LOCATION1_*
    NOW WHAT TO DO ,CAN ANY ONE HELP ME....HOW TO RUN THESE PROCESS......

    Hi User XY,
    tabular forms do not have Page Items. The values you entered in the tabular form are stored in arrays like APEX_APPLICATION.g_f01 to g_f50.
    Here are some links you might find helpful: http://www.talkapex.com/2008/07/manually-creating-tabular-form.html
    http://download.oracle.com/docs/cd/E23903_01/doc/doc.41/e21676/apex_app.htm#CHDICJDA
    brgds,
    Peter
    Blog: http://www.oracle-and-apex.com
    ApexLib: http://apexlib.oracleapex.info
    BuilderPlugin: http://builderplugin.oracleapex.info
    Work: http://www.click-click.at and http://www.wirsindapex.at

  • Set focus in tabular form

    apex 4.2
    I trigger javascript on a page with a tabular form.
    after the javascript fires the page reloads.
    I tired setting a dynamic action on page load that
    set focus
    jquery selector
    [name=f02]:last
    which should set focus to the f02 field of the last record in the tabular form..
    but it doesnt work..
    any other ideas
    I just want the focus to go to the bottom of the page

    nevermind, found a way that works..
    in javascript
    $('input.addfocus:last').focus();in column element attribute: class="addfocus"

  • Apex 4.01 Tabular Form Issue javascript

    We have moved an apex 3.2 application to apex 4.0 and we have some problems with the new ordering of the G_Fxx-Colums as described in another thread.
    There is another thing we do not understand:
    The SQL-Statment is like
    select a,
    b,
    apex_item.text(40,c) c
    from table.
    In java-script we access the data with
    <script type="text/javascript">
    function readOnly()
    var mon_01 = document.getElementsByName("f01");
    var mon_02 = document.getElementsByName("f40");
    In Apex 3.2 both arrays started with 1.
    In Apex 4.0 there seams to be a shift. The Data in mon_01 (j) correspondes to mon_02(j-1).
    Any hint what happened ?
    Thanks
    Tilman

    Habib,
    There were issues in past releases of Oracle Application Express that caused the internal query column IDs to get out of sequence. That issues has been resolved in APEX 4.0.1. However if you import or upgrade older applications that had this issue in APEX 3.2 or before, then there's no guarantee that the fxx array assignments in 4.0 will be the same as in 3.2. So what you will need to do it to open your tabular form source query, and then hit apply changes, this will put the query column ID sequence in the correct order, and then run your tabular form, and take a note of the new fxx arrays assignments. And based on that information, adjust your JavaScript and / or PL/SQL code to reference the correct arrays. In APEX 4, there is now also a way to reference those arrays by the name of the underlying column using the apex_application.f_fmap array, this way, you won't have to reply on how the engine allocates those arrays anymore. Keep in mind, this allocation has always been done at runtime, so e.g. if you had conditional columns, then a column that's in some cases rendered as f05, might be rendered as f07 in other cases.
    Regards,
    Marc

  • Stalling a form from loading until the initial javascript arrays are loaded

    I am looking for a way to get a form to be hidden based on the onload event. I would like to call a javascript function to initially populate some select boxes based on javascript arrays, but I would like this to happen before the page loads or at least stall displaying the select boxes until they are populated.
    The way it is setup now, when the page loads, the select boxes try to load first and then the rest of the form loads. I would like to know if there is a way to load the select boxes from the javascript arrays, then have the select boxes and other form elements show up at the same time. I have tried putting a <div> around the entire form and within the javascript populate function I first use "document.formname.div_id.style.visibility=hidden" then at the end of the select box population within the function, I use "document.formname.div_id.style.visiblity=visible". I tried this and the select boxes appear blank; it is as if the populate function doesn't work at all.
    I realize this is a very long question, but I will award you Duke Dollars if you help me out!!!

    right now, I have it set up where I click on a link which is a jsp page which forwards me to the jsp page that has all the html in it. That page is where I initially try to populate the select boxes with the javscript arrays...I also have a number of javascript functions which change the contents of the select boxes based on another select box in the form. Will i have access to those "java" arrays, [instead of using the javascript arrays], that you are suggesting in the javascript code? I do need to use whatever arrays I create in javascript functions.

  • How can I update a Site Column with the content of an array with javascript CSOM?

    I'm relative new to Sharepoint 2013, I'm trying to update the content of a Site column with the content of an array, I can retrieve and visualize the content of my site column, the user is able to change and save the necessary part and the changes are
    saved into an array, now I have to update the content of the site column with the content of the array, but for some kind of reasons I can't accomplish that, any suggestion/example? This is my code so far to retrieve, visualize the site column and store the
    mofication into my array.
        <body>
                <select id="dropdown" name="dropdown" onchange="optSelect()">
                    <option value="EngineType_Cylinders">EngineType_Cylinders</option>
                    <option value="EngineType_EngineCycle">EngineType_EngineCycle</option>
                    <option value="EngineType_EngineFamily">EngineType_EngineFamily</option>
                    <option value="EngineType_Euro">EngineType_Euro</option>
                    <option value="EngineType_FamilyEvolution">EngineType_FamilyEvolution</option>
                    <option value="EngineType_GasEmissionLevel">EngineType_GasEmissionLevel</option>
                    <option value="EngineType_Power">EngineType_Power</option>
                    <option value="EngineType_PowerSupply">EngineType_PowerSupply</option>
                    <option value="EngineType_Use">EngineType_Use</option>
                </select><br />
                <textarea id="textareadisplay" rows="25" cols="23"></textarea><br />
                <input type ="button" value="Update values" onclick="addItemsToColumns()" />
            </body>
    My Javascript
        $(function () {
            SP.SOD.executeOrDelayUntilScriptLoaded(Function.createDelegate(this, function () {
               var select = document.getElementById('dropdown').value;
                console.log(select);
                getSiteColumns(select);
            }), 'SP.js');
        var fieldChoice;
        var choices;
        var addFields = [];
        var slc;
        var clientContext;
        function optSelect() {
            slc = document.getElementById('dropdown').value;
            getSiteColumns(slc);
        function getSiteColumns(selection) {
           clientContext = SP.ClientContext.get_current();
            if (clientContext != undefined && clientContext != null) {
                var web = clientContext.get_web();
                fieldChoice = clientContext.castTo(web.get_availableFields().getByTitle(selection), SP.FieldChoice);
                clientContext.load(this.fieldChoice);
                clientContext.executeQueryAsync(Function.createDelegate(this, this.OnLoadSuccess), Function.createDelegate(this, this.OnLoadFailed));
        function OnLoadSuccess(sender, args) {
            choices = fieldChoice.get_choices();
            var textarea = document.getElementById("textareadisplay");
            textarea.value = choices.join("\n");
        function OnLoadFailed(sender, args) {
            alert('Request failed. ' + args.get_message() + '\n' + args.get_stackTrace());
        function addItemsToColumns() {
            clientC = SP.ClientContext.get_current();
            var arrayForUpdate = $('#textareadisplay').val().split('\n');
            fieldChoice.set_item(, arrayForUpdate);
            fieldChoice.update();
            clientContext.executeQueryAsync(function () { }, function () { });
        function OnUpdateSuccess(sender, args) {
            var newchoices = fieldChoice.get_choices();
    My problem is on the function addItemsToColumns() please help! Thanks in advance.

    Let's look at your stylesheet -
    <style type="text/css">
    body {
    background-image: url(assets/images/Business%20Men%20In%20Reception%20Col.2.jpg);
    background-repeat: no-repeat;
    background-color: #003;
    margin-left:auto;
    margin-right:auto;
    position: relative;
    width: 960px;
    It's a good idea not to use spaces or any punctuation in your filenames when working for the web.
    #header {
    margin-left:auto;
    margin-right:auto;
    position: relative;
    width: 960px;
    #heading {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 36px;
    font-style: italic;
    font-variant: normal;
    margin-left:auto;
    margin-right:auto;
    There's no need to specify the default values (font-variant:normal) or to specify auto margins for any block element without an explicitly defined width. And wouldn't it make more sense to put the font style on the body tag, where it will inherit into the rest of the page than to restate it as you have done in the next rule?
    #bodytext {
    font-family: Georgia, "Times New Roman", Times, serif;
    font-size: 18px;
    line-height: 25px;
    font-variant: normal;
    width: 300px;
    #container {
    width: 960px;
    position: relative;
    margin-left:auto;
    margin-right:auto;
    .rightimg {
    float: right;
    margin-left: auto;
    padding-right: 40px;
    #heading #navbar ul li {
    padding: 30px;
    </style>
    Margin-left:auto can't work without knowing what the width of the element is....  Keep your CSS lean and targeted - it will help you to debug your layouts.

  • Sum the values of a text field in a tabular form using JavaScript

    Hi Folks.
    OK, I put my hands up. I don't know Java script but I'm picking up the basics and I WANT to learn.
    Here's my situation.
    I have a tabular form which has lots of Standard Report Columns and ONE text field.
    I want to sum the values entered in the text field, real time, using Java Script without the need to have a round trip to the database.
    I'm guessing this will involve some kind of loop. Once I have that SUM figure I will store it in a hidden item and it will be used for validation when the user submits the form.
    If anyone can give me a simple Java Script to do this, or point me in the direction of one, I'd be very grateful.
    Many thanks.
    Dogfighter.

    Hi Arie.
    Thanks for the link.
    That's a great start,
    What I've got working so far is the following...
    <script type="text/javascript">
    function f_calculate_delta(p_this,p_rownum)
    var amt = $x(p_this).value;
    alert (amt);
    var display_item_to_set = 'f08_'+ p_rownum
    $x(display_item_to_set).innerHTML = amt
    </script>
    This is working fine.
    Where I'm stuck at the moment is how I can 'get' the value of another cell in the same row. They have all been set up using the APEX_ITEM API with their own unique IDs.
    I will continue looking but if you could give me a steer, that would be great.
    Many thanks
    Simon
    PS. APEX 3.1
    PPS. Trying to get the value of another row using...
    var display_item_to_get = 'f04_'+ p_rownum
    var expected_amt = $x(display_item_to_get).value
    PPPS. Also tried...
    var display_item_to_get = 'f04_'+ p_rownum
    var expected_amt = $v(display_item_to_get)
    and
    var display_item_to_get = 'f04_'+ p_rownum
    var expected_amt = $v(display_item_to_get).value
    None of which are working at the moment.
    Message was edited by:
    Dogfighter

  • ReadOnly columns on Tabular Forms (Javascript?)

    I have a question in regaurds to tabular forms. I have a tabular form set up, working perfectly. However, I want to be able to make certain columns readonly upon adding the new row (clicking new row button).
    Scenario:
    1) Go to tabular form
    2) Click add row
    3) Once the new row apppears, the columns should all be read only columns (i.e. cant type in them)
    4) Exception: There is one column, a select list, that shouldn't be readonly.
    5) Depending on which value is selected from the select list, determines which columns will be editable, or un-read-only.
    - The last step is merely a conditional. The part that is plaguing me is accessing the actual columns of the tabular form. I'm not too sure how to go about this. Would I even have to make changes to the actual AddRow() function itsself?
    Thanks for any help in advance
    sincerely, #StillLearningApexGuy

    wOW,..this example works perfectly. My javascript/jquery is a little rusty but I should be able to tweak the example for my needs.
    Thanks for the example. I am in your debt
    Sincerely #GreatfulApexGuy

  • 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

  • Tabular form report export to excel

    Hi,
    I have a tabular form report and i want to export the tabular form report data to excel when a button is clicked on the tabular form.
    can anyone help me out with this.
    thanks.

    Hi,
    Yes,
    http://matzberger.de/oracle/spreadsheet-tut-en.html
    http://garethroberts.blogspot.com/2007/10/excel-file-output-from-oracle.html
    Br ,Jari
    Also
    Guides to tomcat + cocoon
    http://carlback.blogspot.com/2007/03/apex-cocoon-pdf-and-more.html
    http://www.poveravoce.net/blog/?p=85
    And use this fop_post
    http://rste.blogspot.com/2008/07/excel-export-from-apex-cocoon.html
    Then of course there is other printing engines like BI publisher , jasper reports, birt ....
    Edited by: jarola on Oct 1, 2009 12:33 AM

  • Tabular Form: Conditional column based on another column in table/form?

    Hi!
    I have 4 columns in table A:
    number (the question number)
    question (the question to be asked)
    type (TEXT, LOV are the 2 valid values)
    answer (the answer with text or a selection from the lov table below)
    I have 2 columns in table B:
    number (the question number)
    values (a single value for the lov's)
    In table B there can be mutiple rows for each number. Table A and table B
    join on the number.
    I want to build a tablular form on table A where for each row either a text
    box or a select list is displayed depending on the contents of the type column.
    So row 1 would display a text box when the type value is text; row 2 would
    display a select list when the type value is lov.
    Is this even possible? How do I refer to the type column in the conditional for the
    answer column? I am guessing that I will need to have 2 answer columns one
    that displays when the type column is TEXT and one that displays when the
    type column contains LOV. This is OK. Setting up the conditional is display is the issue at this point.
    Hopefully I have explained this well enough! :)
    Thanks!
    Dave Venus

    Hi Dave,
    Sorry for not responding sooner - I finish work at 3pm GMT.
    I'll take your first question first (3:28PM posting according to my display - not sure if you are on GMT time?):
    As far as I understand it, using the select_list_from_query() function generates the options that are required in the select list as HTML tags. Each instance of this function should create a SELECT tag and the results of the query should generate one or more OPTION tags within it.
    Second question (4:20PM posting):
    The HTMLDB_ITEM functions are listed in the documentation - here's a link to the online version:
    http://download-east.oracle.com/docs/cd/B19306_01/appdev.102/b14303/api.htm#sthref2524
    Most of the examples that I have seen have been on this forum - simply search for HTMLDB_ITEM or one of its functions.
    I tend to leave the generation of tabular forms to the wizard as much as possible. The only exceptions are when I need to have access to more than the Primary Key for a row but don't want to show the field on screen. There are examples on the forum about concatenating the HTMLDB_ITEM functions into a single value - this hides ID fields from the user but makes them available to PL/SQL code.
    Third question (5:29PM posting)
    I did try using DECODE in my questionnaire but not for the feature that you needed. Originally, I wanted to use this to display one of a number of different fields (ie, my date, number or string field as appropriate to the question) but this didn't help as I couldn't get back to the right field during the update. If you have decode working for the select lists, then that's great!
    The first column should be hidden or sitting behind a checkbox as this should be the Primary Key for the row and should not be editable by the user nor would it normally be displayed.
    As long as your select statement creates the correct output (albeit that you may need to work on the layout!), you should have an updatable form. However, you will need to have the MRU processes in place and the appropriate buttons that trigger these. When I did my questionnaire, I created the form using a wizard to get all of the processes and buttons and then changed the select statement. If you haven't got the processes and/or buttons, we can go through adding these onto your page.
    Last question (9:08PM posting)
    As explained above, column 1 should normally be hidden. The INPUT tag you detail above is what I would expect to see. The value="6" attribute indicates that 6 is the Primary Key for that row - every row will have the same tag but different values for the "value" attribute. So, if it is hidden and these are the tags you see doing a View Source on the page, then everything is correct.
    OK. So now we have the data on screen and (hopefully?) we have the correct processes and buttons on the page.
    The next step would be validation and update of the data.
    Validation of the data can be handled by a normal page process - I can let you have example code if you want to validate the data (this will also explain how to loop through the rows - there are also methods that you can use to do this in javascript if you want). Updates should be handled by the processes and buttons on the page - again, if you haven't got these we can go through adding them in (although, if you haven't yet formatted your page, you may find it quicker to copy your select statement and create the page again using the same select statement).
    ORA-20001 errors are user defined errors. Do you mean the "data has changed" errors? If so, you will probably need to include the MD5 checksum functionality (it's shown in the document linked above).
    Finally, we'll keep this thread going so that you have all of your workings and my responses in one place, if that's ok with you?
    Regards
    Andy

  • How to set a column value in a tabular form via button

    Hi All,
    I am using Apex 3.0.1. And to create the form I am using the APEX interface tool
    I have tabular updateable report. In the same page I have a LOV field where I can choose some possible results.
    I want to have a button so I can select a value in the LOV, take this value and populate the column value to the LOV value for all rows in the tabular form.
    The LOV and the buttons are done.. to update the column I tried creating a pl/sql that is executed when the button is pressed and has the following update in a loop for each element:
    begin
    for i in 1..APEX_APPLICATION.g_f01.count loop
    APEX_APPLICATION.G_F02(i) := :P1_MY_LOV_VALUE;
    end loop;
    commit;
    end;
    When I press the button, the page refreshes but nothing happens. I don't see any changes in the Values for the column I am trying to update
    Thanks

    Hi user477501,
    If you are doing this after a SUBMIT, then try updating your data table instead of the g_f02 array. When you page is re-rendered, it should re-query your data table.
    If you do not want to submit the page, then try your hand at JavaScript.
    A good reference for this is Mike Hichwa's article at:
    http://www.oracle.com/technology/oramag/oracle/06-nov/o66browser.html
    Be sure to download the example application, it is very helpful.
    I hope this helps.
    Patrick

Maybe you are looking for

  • How To Update NVIDIA Driver In MacBook Pro 2013

    Hello, I have A MacBook Pro Retina 2013. As it have a GT 650M 1GB so I nned to update my Driver as its pretty old. But when I go to NVIDIA Driver Website there is no option to download Driver for Mac OS. As I am new to MacBook So I don't know how to

  • Transfering iwork 09 to new macbook pro??

    Good morning all, I am purchasing a new macbook pro and wanted to know if it possible to transfer my iwork09 software to my new macbook pro? I am currently using a macbook and OSX 10.6.2

  • Class Object array!!! HELP

    Customer[] C = new Customer[100]; // Trying to call a constructor from an object of a class Customers C[1].("01", Tom Evans", 6500,"36 Lakes st ", "05/07/2004", 900); // it want let me do this !!! :(Please tell me what are my alternatives appart from

  • Stock Problem in PRoduction order  confirmation

    Dear All,' We are facing a strang problem at the time of confirming Prod. order(Co15). We are confirming order in back date. But even if stock is available on that date(Prd. ord confirmation date) as well as current date system is showing defict of s

  • Can I use a sound file on Pages?

    I want to create a picture book for kids to run on iPad and Iphone -- it will have a voiceover -- so the user can turn the voice on or off. Would Pages be a suitable program for this? Can I put a sound file in a Pages doc for this purpose?