calculation without refresh the Collection report.

Hello
I created the report collection. in this report, there are four columns QTY, RATE, DISCOUNT and AMOUNT. as I enter the value in amount, RATE, DICOUNT Calulated value should come in the AMOUNT COLUMN. Calculation should be without refreshment.
Caluculation Format like AMOUNT = Quantity * DISCOUNT RATE.
Please suggest me.
Thanks in advace.

Hi Nisha/Maury,

It works now! :-)

Here's her updated the JS for the other Ref ppl...



BTW I'm HARI not Jari ;-)

Cheers,Hari

You may reward helpful answers by marking them as helpful or Correct ;-) 

Tags: Database

Similar Questions

  • Generate dynamic elements without refreshing the page

    Hello

    I have a challenge to generate elements on a page dynamically without refreshing the page.

    I tried to do with AJAX, but do not have the elements on the page.

    I see that my process is called as I can warn the outcome of the appeal.

    Here is my code:

    I have a button calling the JavaScript function with AJAX call for the process:

    function f_OnDemand() {}

    get var = new htmldb_Get (null, $v ('pFlowId'), 'APPLICATION_PROCESS is NEW_FLOW', $v ('pFlowStepId'));

    invoke

    gReturn = get.get ();

    ajax reminder alert

    Alert (gReturn);

    }

    And here is the process that involves creating a few dynamic elements on a page:

    DECLARE

    Meter number;

    number of items;

    number of p_counter;

    BEGIN

    items: = TO_NUMBER(:P7_NUMBER);

    FOR counter IN LOOP 1. items

    p_counter: = counter + 1;

    HTP. P ("Item" |) APEX_ITEM. DISPLAY_AND_SAVE (p_idx = > counter, p_value = >, p_item_id = > counter). ': ');

    HTP. P ('Checkbox': counter |) ' ' || APEX_ITEM. CheckBox(p_idx => Counter, p_value => 'Test'));

    HTP. P(' ' || APEX_ITEM. SELECT_LIST (p_idx = > counter, p_value = > 'Y', p_list_values = > ' Yes;) Y, no.; N') || br / > ');

    HTP. P ("< br / > '");

    END LOOP;

    END;

    The question is - how can I make these elements of rendering on a page?

    I'm on Apex 4.2

    Thank you.

    The return would be inserted somewhere in the DOM of your page. So, regardless of the call ajax returns, must be added to a zone. Use jQuery for this. See this example:

    https://Apex.Oracle.com/pls/Apex/f?p=93000:803

    Denes Kubicek

  • Restart an animation without refreshing the page HTML

    I am looking for a way to reload animation on demand, but without refreshing the page HTML (which is no JS window.location.reload () method, say with a simple click of a button. Direct application would be a button to restart the game.

    It's probably something that could be useful to many people.

    Once the composition is ready to use, why would you want to reload the entire composition again.

    An example for the game:

    When you click on the play button, you load the composition once. Playback of the animation until the end.

    Then you can set the visibility of the animation in 'hidden' using the script. And show a button "Restart" instead.

    In the handler for the button click "restart", set the visibility back to 'visible' and read the animation again.

    HTH,

    Vivekuma

  • Change result of &amp; lt; cfinclude &amp; gt; without refreshing the page.

    Y at - it a simple way to change the result of a < cfinclude > without refreshing the page. I have a page that will display one of the many < cfinclude > based on which button is clicked. For our purposes here, assume that there are 6 buttons and 6 different < cfinclude >. "s. I think some sort of update panel ajax, but I do not know ajax, nor can I use ASP.Net.

    All what Adam said, with other examples of what I think of you
    try to do.

    You can include all your code each in an identifiable
    block as a element. Then, using JavaScript and DHTML
    effects you could hide and show the different divs based on the user
    interaction with account of controls such as buttons. This would work well
    If the content of all the divs is relatively small and static. If they
    are large and quite where all the download would indeed on
    load time or momentum so that the content displayed in each section must
    to be up-to-date at the time when a control is selected this option will be
    not work well.

    In this case, you must had a such kind of dynamic refresh
    AJAX or pipes. This adds a dimension to the aspects of DHTML
    your interface to make new requests from the server before the content of the
    the browser is updated.

    Before discussing more in detail and the how and why of each of these it
    would be useful to learn more about your needs accurate and comfort
    level with different technologies and techniques.

    As Adam concluded there are several ways to solve this type of problem.

  • Refresh the interactive report without scrolling page?

    Hello.

    I have a page with three interactive reports arranged vertically on the page. I want that each of these reports to refresh automatically, so I added the following to my page header:

    setInterval ("jQuery('#report1').trigger ('apexrefresh');", 10000);

    setInterval ("jQuery('#report2').trigger ('apexrefresh');", 10000);

    setInterval ("jQuery('#report3').trigger ('apexrefresh');", 10000);

    The code works and the data is refreshed, the problem is that when this happens APEX seems to focus on the report, it is refreshing and page scrolls to it. This means that the user could be down at the bottom of page 3 of the report but every 10 seconds they are caught back to 1 at the top of the page report.

    Is it possible to refresh the reports without going through the emphasis placed on them?

    I use the Application Express 5.0.0.00.31

    Thank you very much.

    Andrew V wrote:

    Hello.

    I have a page with three interactive reports arranged vertically on the page. I want that each of these reports to refresh automatically, so I added the following to my page header:

    setInterval ("jQuery('#report1').trigger ('apexrefresh');", 10000);

    setInterval ("jQuery('#report2').trigger ('apexrefresh');", 10000);

    setInterval ("jQuery('#report3').trigger ('apexrefresh');", 10000);

    The code works and the data is refreshed, the problem is that when this happens APEX seems to focus on the report, it is refreshing and page scrolls to it. This means that the user could be down at the bottom of page 3 of the report but every 10 seconds they are caught back to 1 at the top of the page report.

    Is it possible to refresh the reports without going through the emphasis placed on them?

    I use the Application Express 5.0.0.00.31

    See APEX 5 - IR r region without losing the focus on the region of origin for a similar problem, but I do not think that the workaround solution discussed here will be of use to you.

    APEX 5.0.1 patch that contains a fix for this problem is now installed on apex.oracle.com. Try your page there to see if it solves your problem. The patch should be made public quickly.

  • Interactive report editable without using the Collection

    Hi Experts,

    I use Oracle Apex 4.2.5

    Is it possible to create an interactive report that can be changed in the same page? If the user edit a field, it must get updated in this table.

    Let me know if this is possible without assistance from the Collections of the Apex

    BR,

    Patrick

    Paul Broughton says:

    Hi Patrick,

    I also agree there is no out of the box solution, I need this for an application and I used elements of the APEX of the APEX_ITEM API

    Here is a very basic example that I have not tested, but you have a question, something like:

    [code]

    Select

    APEX_ITEM. DISPLAY_AND_SAVE (1, empno) as patient_id,

    APEX_ITEM. TEXT (2, ename) as ename

    Of

    EMP;

    [/ code]

    Make sure you use columns of standard report as your column types.

    When you click on submit you'd have a process similar to the following:

    [code]

    Start

    BECAUSE me in 1... APEX_APPLICATION. G_F01. COUNTING LOOP

    Update emp

    set ename = apex_application.g_f02 (i)

    where empno = apex_application.g_f01 (i);

    end loop;

    end;

    [/ code]

    That's assuming you don't need inline editing.  If you do this will require an even more customized solution, but the way above requires no collections.

    Thank you

    Paul

    Hi Paul,.

    I think that IR out-of-box features do not work correctly when you use the APEX_ITEM functions in the query.

    Here's another one you could use APEX 4.2

    Yet another way to create & quot; editable interactive report & quot;

    Kind regards

    Jari

  • Refresh the simultaneous report table

    Hi all

    Even though I've hidden the button apply, the report tabs are not updated with the settings in the bi publisher report. Please refresh the page to report manually for each tabs. Is there a way to refresh all tabs on report at a time when changing the parameter in the report of 11g bi publisher.

    Thank you

    Sushil

    If you have removed the button apply, then the action of the selection of a new parameter value automatically rerun the report. However, if you want to have the report that is run with the first value or the default value selected, you can define a default value and set the Auto Run then then the report will be automatically updated.

    Thank you
    Bipuser

  • Only update the drop-down list without refreshing the entire page

    Hi all

    I use javascript to refresh the combo but it also refreshes the whole page.

    When I choose element in a list window select will be open when I close the window pop up, I want to refresh only select list not the whole Page.

    Thank you.

    Hi Dan,.

    I did all the steps, but did not work.

    still have same problem.

    Apex. Oracle.com credentials (name application training)

    work-apex_example namespace name

    [email protected]

    Pass-Disiz$ 1234

    Kind regards

    Arianne.

    I followed the idea of Dene that precede and modify your function

    check your application.

    1. create a hidden point P2_HIDDEN_ITEM with protected vale only

    2. the value of 0 to P2_HIDDEN_ITEM at the opening of your modal page.

    added to your opening of your modal dialog function

    Apex. Item ("P2_HIDDEN_ITEM") .setValue ('0');

    3 position 1 P2_HIDDEN_ITEM so that the closing of your modal page.

    added to your close your modal dialog box function

    Apex. Item ("P2_HIDDEN_ITEM") .setValue ('1');

    4 creates a dynamic action to refresh lov point on the evolution of P2_HIDDEN_ITEM value equal to 1

    Hope this helps you,

    Kind regards

    Jitendra

  • ADF MOBILE: how to add an item in the list without refresh the entire list

    Hello

    I am using this method to add an item to a list (I've already added the item to the data model):


    providerChangeSupport.fireProviderCreate (String providerKey, int newRowKey, object newValue);


    I don't want refresh the entire list, rather, I want to just add a new item to the list, that's why I want to use this method.


    I want to know, what value should I use for the second argument? i.e. 'int newRowKey '.


    Thank you


    Hello

    the event of change of provider in your case seems to actually create a new line. So the int is the rowKey (index PK or line) of the new line. There is no other choice to simply add an element to a list (ADF Mobile provides no component handles)

    See: Embedded Java/ADF for beginners: ADF Mobile: refresh your valuable data

    Frank

  • Impossible to apply rights to the visitor without refreshing the page

    Hello

    I created two roles) 1 consumer 2) employee
    and two Office pages 1) consumer Page 2) Page used

    I placed rights to the visitor to these pages Office accordingly. Then when I connect, corresponding page should be displayed after authentication. But it does not work until I refresh the page.

    Anyone can provide a solution for this?

    Kind regards
    MARGI

    Published by: user13389316 on July 19, 2010 15:04

    Published by: user13389316 on July 19, 2010 15:05

    You must redirect, there's no way around that I know

  • refresh the page report plugin modal skillbuilder

    Hello!

    I have a problem.

    I got my application on apex.oracle.com, the user/pass: test/test, work space: dramar.

    On page 1 it is a point (that the article gets value of sequence) and button, button open modal page (page 2). When I insert data on page 2 in the table (by clicking Close modal) there is no discount report which shows loded files.

    can someone look at and such me what is the problem?

    concerning

    Hello

    It works now.

    I've changed a lot, do not know if all is necessary.

    I think on the modal page, you need to branch back to the page modal itself and define the success message.

    Also, I changed the status DA JavaScript with modal page ID (that I also defined at the opening of the modal).

    Also, I'm not sure if you are able to update an AI region of direct report through a region of refresh action, the way that I always do is branch back to the page itself and set the ID of the record ID running (so it does not use a new sequence and extraction based on the 'value'.

    Just realized that it was probably not refreshing due to not having a static ID (the region), which was probably the cause. I think that someone else filled the static ID already, now I changed the DA and it works as expected. Also solved one of my own questions

    I think that's what you wanted.

    See you soon

    Bottom

  • Pop-up window without refreshing the page

    Hello

    I want to display a pop-up window in my webpage (designed in php & MySQL), if I get a few values in my database .


    (Automatically, I want the pop-up window to display in the auto-refresh).


    Please help me.


    Thanks in advance.


    I've done it before "onload" with a box of "alert". If the database field is set to ONE gets skipped the alert box open using the box to light "fancybox:

    New update

    Stir then relax "anchor" page:

  • Navigation without refreshing the page

    Hi people,

    I don't know what it's called, and I hope that if I explain it someone can tell me what her name so that I can then dig autour and know how to do!

    I have a client who wants an mp3 playing continuously while going through the site (I know, but they don't listen to me). "Constantly" which means that as you navigate from one page to another, the song never stops or recharge. I guess the only way to do it is by using an iframe, frameset (I just never understood executives, despite all the efforts of the help of DW8) or javascript (I know not all javacript) so that the new content of the navigation bar appears on the same page and mp3 hasn't a chance to recharge.

    What we call that? Y at - it a name for "click the nav and have the new updated content in the DIV over there on the left rather than loading a new page"? I thought that maybe by using TPM of PVII might do, but the site has an album photo and other things and it can take forever for the page to load then... Any help to point me in the right direction would be appreciated! Thank you!

    I guess that since I discovered how to do this I have to mention it. «A friend of mine used to use frames, and told me using it an iframe with a * name = "" * attribute would load a new page in the iframe, so the target of the url value of the attribute name.» That is to say:

  • Refresh the report area of PL/SQL (not Page) using the value of the select list

    Hello

    I have a report region based on a "body of the PL/SQL function returning a query'which SQL is generated on the selection of a value of an element from the selection list, select action list is"Redirect and set", but this causes the entire page refresh rather than just the region report." I tried to update the report using only a dynamic action on the item list select (Action now reset to 'None'), but now the report does not appear on the choice of the list. Can someone suggest a solution that will allow me to update this report without refreshing the page? I use APEX 4.2.2 and the syntax of the statement is as follows:

    DECLARE

    v_statement VARCHAR2 (500);

    BEGIN

    SELECT query_text
    IN v_statement
    OF sql_queries
    WHERE query_id =: P2_QUERY;

    RETURN v_statement;

    END;

    where P2_QUERY is Select list item,

    Kind regards

    Kevin.

    KevinFitz wrote:

    The displayed report region is subordinate to the point P2_QUERY is NOT NULL. I guess that the region appears not is because the Action for the select list item is set to None, and so P2_QUERY is always NULL.

    No, the region does not appear because it is subordinated to the P2_QUERY being NOT NULL. This means that the region of report never exists on the page displayed in the browser, so it cannot be updated dynamically. (Dynamic updating is not to evaluate the conditions of the region, and she makes only the content of the report, not the whole region again).

    Remove the condition on the region to report, check the update works and then go back on what exactly are the requirements here. If you want to the area appear only when P2_QUERY has a value, and you want it to be regenerated without submitting and reposting of the page, the region must then be hidden rather than conditionally restored and shown via dynamic when action P2_QUERY Gets a value.

    I tried to add a further Action for the event real value DA but has been a mistake, as stated above,

    All irrelevant if Page to submit items on the region is used correctly.

  • Refresh the report

    I have a page that has 3 regions.
    Region 1: Chart with animation
    Region 2: Report1 with a link to Report2
    Region 3: I2

    Currently, if I click on the link to Report1, and then the page is sent and I2 is updated, as well as the graph.

    Ideally I would click the link to Report1 and up-to-date data in Report2, without refreshing the page, IE, the table is not updated.
    I tried to play with partial page refresh, but cannot make it work.

    I have a workspace on oracle [http://apex.oracle.com/pls/apex/f?p=4550:1:]

    Workspace: GUSCRIGHTON
    Usernane: ANGUS. [email protected]
    Password: terminator

    Request 33310 GUS_TEST
    Page 43

    Thanks in advance

    Gus

    Hello Gus, c.

    Check your application in the workspace, if the feature works or not?

    What I did is:



    • Writes a javascript function in the header of the region region of employees to refresh the region:

      
      



    • Writes a javascript function in the HTML Page header of your page:

      
      

      The above function is an AJAX call that calls an application process: the SET_ITEM_VALUE that does nothing.
      But the line of code:

      ajaxRequest.add('P43_SHOP_ID',parseInt(p_shop_id));
      

      Adds a parameter to the AJAX request that sets the value of the element for the P43_SHOP_ID element.



    • After the completion of the AJAX call to the line of code:

      EmployeesRefresh();
      

      calls the function to refresh the report used.



    • Finally changed the link in the column to the column SHOP_ID report details of the shop:


      • Target : URL


      • URL :

        javascript:f_set_shop_id('#SHOP_ID#');
        





    • I checked the above features on Mozilla Firefox 11.0.

      I hope that helps!
      Kind regards
      Kiran

Maybe you are looking for

  • Satellite A300D-17Z - cannot install the display driver for Vista

    Hello There is a big problem with my A300D-17Z. The laptop has ATI HD3470 Hybrid Crossfire display system. I'm trying to install the driver in Vista Ultimate, but it does not work. The ATI Catalyst control cannot install and ATI driver file is empty.

  • need help for my Pentecost photos

    I am trying to make sure I did well... .i have two phones and I want to put all my photos on my mac

  • D missing Windows Vista disk

    I had to restore my Acer Extenza to factory default. My C drive works fine but the D drive does not appear in my computer.  In my disk computer management C shows 69,65 GB and there is space "unallocated" showing 79,40 GB. I think this is my D drive,

  • Computer has a black screen and does not show the normal startup logo and more

    The computer that I use usually works well, until the next day, the day that I used it, ruined everything. My computer shows not the Windows 7 logo normal at startup, but instead, a bar with green lines in movement like the ones you see in older vers

  • blue screen of death wake mode 'sleep' how to fix?

    I get a blue screen of death to the awakening of fashion 'sleep' how to fix? ==================================================Dump file: 040515-21762 - 01.dmpCrash time: 05/04/2015 14:16:26Bug Check String: IRQL_NOT_LESS_OR_EQUALBug check code: 0x00