How an apex_item.display_and_save total column

I created a tabular presentation dynamically using apex_item.text. My query includes three columns; cash, cheque and credit. My last column in the query is a total column of cash, check and credit added together gives me the total for that line. My request;
Apex_item.display_and_save(10,id) SELECT id,
apex_item.display_and_save(11,transaction_date) transaction_date.
apex_item. Silver Text(12,cash_amt,15,15),
check the apex_item. Text(13,check_amt,15,15),
apex_item. Text(14,credit_amt,15,15) credit,
apex_item.display_and_save (15,
(cash1_amt + cash2_amt + check_amt + credit_amt)) total
Deposits

In the form, if I change one of the amounts, is it possible to update the total column without having to submit the page (javascript maybe)?
I don't know how to reference apex_application.g_fxx (i) in javascript, if that's even possible.

Concerning
Mark

You are welcome!

Thank you
-Matt

Tags: Database

Similar Questions

  • How is the sum total of the column of this PivotTable?

    Hi experts, I am trying to sum two columns, the column called 'Hombre' and the column named "Total."

    Display a picture to explain better.

    ! http://img11.imageshack.us/img11/2240/caekg.PNG!

    It's the pdf output:

    ! http://img38.imageshack.us/img38/4240/cae2.PNG!

    I tried to write in the name columns "Hombre".

    <? $c45 / / M0/M0/T? >

    because the column name 'Mujer' I read this

    <? $c45 / / M0/M1/T? >


    I Don t know what means this code, $c45 I know it is the call to the variable

    M0-M0-T, but I Don t understand it.

    Thank you

    I understand your ignorance on how it works.

    
    
    And use following in total,
    
     == Hombre
     == Mujer
    

    http://winrichman.blogspot.com/2009/10/sum-total-column-in-BIP-pivot-table.html

  • Can JavaScript get value from an apex_item.display_and_save point? How?

    I have a PL/SQL region that displays a table using htp using the data of a query that creates some elements apex_item.text and apex_item.display_and_save.

    Excerpt from the query:
    select wil.sort_order
           -- item_nbr
           , apex_item.text(11, wil.item_nbr, 20, 20
             , 'id="itemnbr_'||wil.sort_order||'" name="itemnbr_'||wil.sort_order||'" style="text-align:left; "
               onchange="this.value=this.value.toUpperCase(); confirmItem(this);"
               onFocus="hideItemSearch();" ondblclick="showCustItemList(this);"')   item_nbr
           -- item_desc
           , apex_item.display_and_save(21, wil.item_description, 'item_desc_'||wil.sort_order)          item_description
           -- qty
           , apex_item.text(12,wil.qty, 10, 10
             , 'id="qty_'||wil.sort_order||'" name="qty_'||wil.sort_order||'" style="text-align:right; "
               onFocus="hideItemSearch(); hideSearchResult(); " onChange="updateCollection002(this); verifyQty(this); "
               onBlur="hideAvailability();"')   qty
           -- uom
           , apex_item.display_and_save(22, wil.uom, 'uom_'||wil.sort_order)          uom
           -- put_up_cnt
           , apex_item.text(13,wil.put_up_cnt, 3, 5
             , 'id="pu_cnt_'||wil.sort_order||'" name="pu_cnt_'||wil.sort_order||'" style="text-align:right; "
                onBlur="updateCollection002(this);"')   put_up_cnt
           -- put_up_size
           , apex_item.display_and_save(23,wil.put_up_size, 'pu_size_'||wil.sort_order)   put_up_size
         .
         .
         .
    In a JavaScript function I am just checking that the quantity entered is an integer multiple of the put_up_size.
      function verifyQty( pThis ) {
        var l_ndx = pThis.id.substring( 4 );
        var l_qty = $v( pThis );
        var l_pu_size = $v('pu_size_'+l_ndx)*1;
        var l_pu_cnt = ( l_qty / l_pu_size );
        var l_new_qty = l_pu_size * l_pu_cnt;
        alert("l_qty = "+l_qty+" and l_pu_size = "+l_pu_size);
        if ( l_pu_cnt != l_qty / l_pu_size ) {
          alert( "Auto Qty correction. Qty must be a multiple of Put Up Size. You entered "+l_qty+". Changing to "+l_new_qty );
          $s( 'qty_'+l_ndx, l_new_qty );
        }
      } /* end function verifyQty */
    I tried different fields in the first alert statement and it looks like I can get a value for an item of type text, not an item of type display_and_save.

    Can't the JS API to get the value of an element of display_and_save?

    Thank you

    Gregory

    Gregory:

    var l_pu_size = $x('pu_size_'+l_ndx).innerHTML;
    

    CITY

  • How can I get totals show for saving e-mails from files.

    My computer crashed, but I saved my TB profile. When I copied all my e-mail in the new profile files, they are all showed in the older profile a total has shown next to each folder. In the new profile I do not see how many emails are in each folder unless I do a right-click and select Properties. How can I get the column showing the totals for each folder?

    In this case, I would say that you have an incompatible add-on. Maybe even the old folder columns add-on that used to power this feature.

    Menu (alt + T) tools > Add-ons and disable everything that looks like it can interact with the files pane.

  • Calculate the sum of the 2 columns in the total column.

    Hello everyone.

    I have a question I hope you can help us

    I use the form of oracle 10 g , I made the table student FYI There are 5 columns ( HomeWorks, project, Midterm1, Midterm2,FinalExam), , I need to calculate these brands and put it in ( Total ) column using the form of the oracle. How to? .

    Another thing is it possible for me to restrict the user so that he can not enter more than 10 points for homework and not more than 15 points for project, etc.?

    I hope you can answer me I am really really really really grateful that I searched online, but no real solution especially for the second part of the question. will I change the varchar2 to the numbers?

    Thank you

    Yes... What you have to do is, you create when validating the element trigger on assignment, then put under code of the project

    IF (: blockname.itemname) > 20 THEN

    MESSAGE ("you must enter only less than 20 brands '");

    RAISE FORM_TRIGGER_FAILURE;

    END IF;

    Make the total, rank as a display element. Create a button contained within this block and put the code below in this WHEN the BUTTOM PRESSED trigger

    DECLARE

    v_total NUMBER;

    BEGIN

    v_total: =: Blockname. Mid1 +: Blockname. MID2 +: blockname.assignment +: Blockname. Final +: Blockname. Project;

    : blockname.total: = v_total;

    : blockname.grade: = CASE WHEN v_total<60   then ="">

    WHEN v_total<65   then ="">

    WHEN v_total<70   then ="">

    WHEN v_total<75   then ="">

    WHEN v_total<80   then ="">

    WHEN v_total<85   then ="">

    WHEN v_total<90   then ="">

    WHEN v_total<95   then ="">

    WHEN v_total<=100 then="">

    END;

    END;

  • How to develop the hierarchy column automatically when NDRs by one

    Hi Experts,
    In 11.1.1.6.0, how OBIEE to widen the column hierarchy automatically when NDRs by agent?
    For example:
    SampleLite DPR, when we drag 'Hierarchy Time' and the Sales column in the report and he sent by the agent, it will show only sales 'Total', don't show any value level, such as Year, Month, Day.So how the hierarchy column automatically expand when NDRs by agent?

    If we are expanding at all levels and keep it, he will be allowed, however, when we add new data, it will automatically be collpased and does display no data at the lowest level, forcing the users or developers to modify this report for the expansion of the hierarchy. We think it's very wrong, is there a good suggestion or the method to reach our requirement?

    Hello

    In the lower pane, goto step selection-> select the hierarchy column in the list->, click on 'Step then new'-> 'Select members based on a hierarchy'-> in the drop-down next to the Action menu: add members of-> select all levels. This will expand the hierarchy to the selected level.

    Kind regards
    DpKa

  • Reference apex_item.display_and_save starting from javascript

    I have the following query:

    Select
    apex_item.display_and_save (10, Field1, "f10_" |) ("#ROWNUM #") Field1.
    apex_item. Text (20, Field2, 80, 100, "style =" "width: 70px; text-align: right" ', 'f20_' |) Field2 ' #ROWNUM # ')
    of the test;

    I use display_and_save as a single display field Field1.

    Can I use 'html_GetElement('f20_1').value' in javascript without problems.

    But how can I reference field 'f10_1 '?
    html_GetElement do not work.

    Thank you

    Edited by: ahabl the 13.01.2010 10:29

    Try

    html_GetElement('f10_1').innerHTML

    CITY

  • In windows 8 How do you do the column bookmarks 'flexible '? I used to be able to make it narrower.

    Windows 8 How do you do the column bookmarks 'flexible '?

    Sounds that you use the bookmarks Menu button that opens a drop-down list.

    Firefox has two buttons bookmark with a star in the window customize.

    A single star button has a drop-marker that opens the bookmarks menu and may appear on the Navigation toolbar or on the bookmarks toolbar if the menu bar is hidden.

    The other Star without the drop-marker button opens the bookmarks in the sidebar (view > sidebar > bookmarks).

  • How to put the 2nd column 1st column in excel

    Hello

    I have a question how to set the 2nd column 1st column in excel. Thank you.

    Why the 1 iteration for loops?

    Why two Index tables?  He's just trying to solve the problem created by the loops For on the original 1 d arrays.

    Two of these things create 2D tables which are what complicates things and can be eliminated.

    You can take your 2 1 d tables, use build table and right-click to set 'concatenate the inputs.

    If you have a 2D array, you can use table remodel to make a 1 column of the table of N line 2D.

  • How to read the two columns of data from the Port series

    Hello

    I'm reading two columns of data from the serial port.

    Example:

    52439 52430

    52440 52437

    52209 52214

    51065 51070

    52206 52390

    I use the serial of Visa service and I can read the first column of data from the serial port, but I can't understand how to read the second column.

    I want to both sets of chart data.

    I enclose my VI.

    Thank you for your help.

    The analysis of string function takes a "Format string" on top (with the right button of the function and choose Help, which explains all the entries).  In particular, you can say 'Give me two numbers separated by a tab' and the output will be two numbers (whole or floating, depending on the chosen format).  In particular, %d\t%d specifies a decimal integer, , whole decimal.

  • Columns of folder: by default, how can return the first column 'Name' without having to move it manually every time?

    Something's happened awhile and when I create a folder which appears the first column is the column 'Date modified '. By default, how can return the first column 'Name' without having to move it manually every time?

    Hello

    I suggest you to visit these links and check if it helps:

    http://Windows.Microsoft.com/en-us/Windows-Vista/working-with-files-and-folders#section_4

    http://Windows.Microsoft.com/en-us/Windows-Vista/folders-frequently-asked-questions

    It will be useful.

  • How can I pay what columns appear on all records when windows Explorer opens?

    original title: Windows Explorer in Vista

    How can I configure how windows Explorer opens?

    How can I pay what columns appear on all records when windows Explorer opens?

    Why vista is so frustrating use?

    Hi SuppyLives,

    You experience problems in the customization of Windows Explorer?

    Method 1: You can run the fixit available in the link below and then check

    Diagnose and repair Windows files and folders problems automatically

    http://support.Microsoft.com/mats/windows_file_and_folder_diag/en-us?EntryPoint=lightbox

    Method 2:  You can see the steps provide in the article below

    How to modify your folder view settings or customize a folder
    http://support.Microsoft.com/kb/812003

    Important This section, method, or task contains steps that tell you how to modify the registry. However, serious problems can occur if you modify the registry incorrectly. Therefore, make sure that you proceed with caution. For added protection, back up the registry before you edit it. Then you can restore the registry if a problem occurs. For more information about how to back up and restore the registry, click on the number below to view the article in the Microsoft Knowledge Base.
    How to back up and restore the registry in Windows

    You might want to know

    Work with files and folders
    http://Windows.Microsoft.com/en-us/Windows-Vista/working-with-files-and-folders#section_2

    Demo: Working with files and folders
    http://Windows.Microsoft.com/en-us/Windows-Vista/demo-working-with-files-and-folders

  • How to display the comments column in Windows Media Player 12?

    WMP12 - how to display the comments column?

    I want to see the Cooments ColonneB in my WMP ads, but it is not giving me the option.

    Hello

    1. What do you mean exactly by the column comments?
    2. are you referring to in Windows Media Player?

    If you want to change the information contained in the Windows Media Player, you can follow the steps in this article.

    http://Windows.Microsoft.com/en-us/Windows7/add-or-edit-media-information-in-Windows-Media-Player

  • How to add the new column in existing table to our desired location?

    How to add the new column in existing table to our desired location?

    For example, I have to add the new column 'course' before the salary column in the emp table.

    I think the best way is to add the column at the end of the table and create a new view with the order of the columns...

    Another option...

    places the data into a temporary table and recreate the table with the correct order of the columns, and then insert data to the table from the temporary table

    Refer

    Add column (from table) in the desired position

    Example:

    CREATE TABLE temp_my_user LIKE)

    SELECT * FROM password);

    DROP TABLE password;

    (Password) CREATE TABLE

    userID NUMBER

    , first name VARCAHR2 (25)

    , middleInitial VARCHAR2 (1)

    (, name VARCHAR2 (25));

    INSERT INTO password (userID, firstName, lastName)

    (SELECT username

    first name

    lastName

    OF temp_my_user);

    DROP TABLE temp_user;

  • How to reference the link column in the detail view

    I have a pretty simple question that turns everyone strain. I created a simple report and defined a column of link to point to a page of edition to the line items. So far, everything is great and works as expected.

    Now I use the detail view to replace the standard HTML code for each LINE of my report. I can access all the #COLUMN_NAME #s to fill my own HTML for each ROW with the values of the report.

    How can I reference the column link in my view detail? What is the # to #SUBSTITUTION_STRING it? How can I find out about all available alternative channels?

    Thank you

    Jan

    That's the problem with the detail view, it is difficult to add conditional fields without the ugly SQL.

    Another alternative is the named report model, but it shares the same problem

    APEX reports: layout custom with a column named (model line)

Maybe you are looking for