Refresh detail report when page is changed

Hi All,
could You help me with this problem, please?
I have page with two reports on one page - master and detail. Master report has link column which ‘call’ the same page and fill item (P2_id) and it refresh the detail report. The problem is when I am changing the page (next x records), then is not item P2_ID changed and detail shows me data of the record from previous page :-(
Idea is – when will page change than will ID from the first row of report copy into P2_ID... I thing there will any easy trick to solve this but I can find out it...
Please should You help me
Thanks a lot
Alexej

Alexej,
The hard thing about what you want to do would be to populate the value of P2_ID on load. There's probably a way to do it but it would take some thought. The easy approach is simply to clear out the value of P2_ID on load and let the user select the row they want again. To get that to work the first thing you'll need to do is to disable the partial page rendering for this report's pagination as there is currently no way to handle these events well (I've done that). Next you'll need to have a process that clears out the value at the right time (I added a computation with a request condition).
Regards,
Dan
http://danielmcghan.us
http://sourceforge.net/projects/tapigen
http://sourceforge.net/projects/plrecur

Similar Messages

  • Refresh FR report when Substitution Variable change

    Hi All,
    Is there any way to refresh FR report which are opened through smart view/ workspace when the Substitution Variable changed. Like if my report opened for the Year = Curryear and now curryear value is FY14 if I changed curryear as FY15 will it reflect on my FR report that already opened.
    Regards,
    Pradipta

    For sure it won't be updated automatically if the report is open. Did you try changing it and then see what happens?
    You'll have to refresh the report for the subvar to show up on the report.
    P.S remember to stop and start your Essbase application after the subvar change
    Regards
    Celvin Kattookaran

  • Refresh SQL Report (Submit Page Item)

    I want to add a search field in a SQL Report. I have something like this
    SELECT * FROM emp
    WHERE  emp_no  LIKE  :P1_SEARCH || '%'I want to do the search asynchronous, on keypress. The problem is that a SQL Report doesn't have a "Submit Items:" atribute like a interactive report.
    So after i refresh the report:
    $a_report($x('P1_REPORT_ID').value,'1','10','100');The report is refreshing (the circle icon on top of the screen) but nothing changes cause the :P1_SEARCH doesn't submits.
    How could i submit a page item from JS ?
    King Regards,
    Cearnau Dan
    PS: I'm using APEX 4 and using dynamic actions it's the same like the Javascript call.(still doesn't submits the :P1_SEARCH item)

    Hi Dan,
    I would suggest not to use the undocumented
    $a_report($x('P1_REPORT_ID').value,'1','10','100');It's very likely that it will be changed in APEX 4.1
    Dan.Cearnau wrote:
    PS: I'm using APEX 4 and using dynamic actions it's the same like the Javascript call.(still doesn't submits the :P1_SEARCH item)That's true, but have a look at Anthony's blog posting http://anthonyrayner.blogspot.com/2010/07/report-filtering-with-apex-40-dynamic.html which explains a workaround to pass the new values for a classic report as well.
    Regards
    Patrick
    My Blog: http://www.inside-oracle-apex.com
    APEX 4.0 Plug-Ins: http://apex.oracle.com/plugins
    Twitter: http://www.twitter.com/patrickwolf

  • Error loading report when data source changed

    We are migrating our Crystal Reports from using XML files generated from our SAP R3 system to using a direct connection to SAP R3 (using the SAP Integration Kit).
    The code is straightforward:
          crReport = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
          crReport.Load(reportPath);
    ...where the reportPath is just a string with the path and filename (e.g. "C:\reports\Report1.rpt").
    This worked fine with the report when it had an XML data source. When we run the code with the new version of the report that connects to a data table on our SAP R3 we get the following error message:
    Error in File Report1 {40205567-F890-4B3C-A103-C9C8F0A1E665}.rpt: Failed to logon to the Crystal Report Object Repository.
    The report is not in an Object Repository, nor do we even have a Repository in place right now. The report can be run manually from Crystal Reports on the desktop without any kind of Repository.
    Both versions of the report were built in Crystal Reports 2008.
    Thanks,
    Byron

    I am not sure if connecting to SAP is any different than connecting to SQL, but we develop one report and then deploy to N number of client who all have their own SQL servers and server names.
    Here is the code I use to alter the database connection at runtime:
      connection.DatabaseName = _datebaseName;
                    connection.ServerName = _serverName;
                    if (_integratedSecurity)
                        connection.IntegratedSecurity = _integratedSecurity;
                    else
                        connection.UserID = _userId;
                        connection.Password = _password;
                    connection.Type = ConnectionInfoType.SQL;
                    // First we assign the connection to all tables in the main report
                    foreach (CrystalDecisions.CrystalReports.Engine.Table table in _reportDocument.Database.Tables)
                        AssignTableConnection(table, connection);
                    foreach (CrystalDecisions.CrystalReports.Engine.Section section in _reportDocument.ReportDefinition.Sections)
                        // In each section we need to loop through all the reporting objects
                        foreach (CrystalDecisions.CrystalReports.Engine.ReportObject reportObject in section.ReportObjects)
                            if (reportObject.Kind == ReportObjectKind.SubreportObject)
                                SubreportObject subReport = (SubreportObject)reportObject;
                                ReportDocument subDocument = subReport.OpenSubreport(subReport.SubreportName);
                                foreach (CrystalDecisions.CrystalReports.Engine.Table table in subDocument.Database.Tables)
                                    AssignTableConnection(table, connection);

  • Make hyperlink work properly even when page numbers change?

    Is there any way to make a hyperlink to a page in an InDesign CS5.5 doc continue to work even if you move it or add pages, so you don’t have redo the link if the page number changes?  I checked help, but it didn’t help.

    I don't do Hyperlinks, but waht you are describing sounds more like the closely related Cross-Reference, and those should update automatically with pagination changes and editing. I would have thought that a hyperlink would do the same. Try this: Remove minor corruption by exporting

  • Automatically refresh a report when it loads.

    Hi,
    I have a report created against the service request object which is accessed from the SR page using a weblink. However when the report is displayed it does not always show the current data. I have to click the 'refresh' link at the end of report to get it to display the correct data. Ideally I would like to avoid the user having to click 'refresh' so.....
    Does anyone know how i could get the report to refresh automatically when it loads so that it always shows the current data?
    Thanks in advance

    Contact C/C they will be able to help you with that

  • What happens to Desktop Intelligence reports when a universe changes name?

    Post Author: GregPye
    CA Forum: Desktop Intelligence Reporting
    Hi
    We are experiencing intermittent issues with our DeskI reports that are pointing to a universe that subsequently changes its name.
    We seem to have some reports that cope with the name change perfectly well, and other reports that "cannot find universe" because it is looking for the new name.
    The issue with the latter, is that if DeskI cannot find the universe, it will then not allow you to repoint the universe in the View Data pane. When such reports are found, our workaround has had to be:
    1) copy universe and rename with old universe name
    2) open report and repoint to newly named universe name
    3) delete old universe name
    Should all reports automatically update when the universe simply changes their name? Why do some reports not do this? Is there something we can do to alleviate the situation?
    Many thanks
    GP

    bashphoenux wrote:what does "this" refer to ???
    I was referring to the problem you reported "the screen freezes for an idefinite amount".
    I thought it sounded like this:
    https://bbs.archlinux.org/viewtopic.php?id=103522
    Look at the mail mesage in the link in the 4th post.
    Last edited by loafer (2010-09-07 15:15:27)

  • Adding saved form fields when page count changes

    It appears that there isn't a way inside of EchoSign to apply a set of forms fields that has been saved to the templates if the new version of the form has a page added or deleted.
    It seems like it would either require the form fields to be edited outside of EchoSign or be recreated from scratch if the form adds or removes a page when it is updated.
    I would appreciate any insight or confirmation.

    The situation would be thus:
    The document for Form Z is created in a program such as Word and has several pages. The Word document is uploaded to EchoSign. This converts the Word Doc to a pdf, and then the form fields added in EchoSign. Then that EchoSign form is saved as a template (both document and form fields) in the Library.
    Now, the client who created the Word document comes back a year later with a revised version of the Word Doc that has one fewer page. If that new Doc is uploaded to EchoSign, the form fields from the first version of the form cannot be imported and applied to the new version because the number of pages in the new document doesn't match the number of pages in the old document.
    This appears to be similar to LiveCycle, where you cannot replace the background pdf unless the new file has the same number of pages as the old pdf.
    Unfortunately, it is quite common for these larger and more complex forms to add or delete pages when they are revised, and those are exactly the forms that one would want to avoid rebuilding from scratch.

  • Time Reporting Periods page - Status change not being saved

    I'm a Project Server 2013 Admin and I'm trying to change the status of some time periods from Open to Closed.  When I select Closed for a few time periods and click Save, nothing happens and my changes are not saved.  For accounting purposes
    I need to be able to close out time periods.  Please help!

    K Levesque,
    You might want to delete this and re-post to the Project Server forum at: http://social.technet.microsoft.com/Forums/projectserver/en-US/home?forum=projectserver2010general. This forum deals primarily with questions about the stand alone installations
    of Project.
    John

  • Time Reporting Periods page - Status change not saving

    I'm a Project Server 2013 Admin and I'm trying to change the status of some time periods from Open to Closed.  When I select Closed for a few time periods and click Save, nothing happens thus my changes are not saving.  What could be causing
    this to happen and better yet, what is the solution to fix this issue?  For accounting purposes I need to be able to close out time periods.  Please help!

    Hello Levesque
    You must do what Prasana says, but it is also a bug and was fixed in a CU.  It is described in the following blog.
    http://carl-projectserver.blogspot.com/2013/07/projectserver2013-bug-cannto-close-in.html
    Cheers
    Michael Wharton, MVP, MBA, PMP, MCT, MCTS, MCSD, MCSE+I, MCDBA
    Website http://www.WhartonComputer.com
    Blog http://MyProjectExpert.com contains my field notes and SQL queries

  • Group above master/detail report; page break causes repeat of master frame

    Hi
    I have a a group above master/detail report; when there is a page break part way through the master frame it causes the whole master frame to be repeated on the next page. I don't want this to happen, I just want the remainder of the master frame to be displayed on the next page. any ideas?
    TIA

    Hi
    I've tried switching the "Page Protect" to No at the page level and the "Print Object On" is set to "First Page" but it doesn't solve the problem. The whole master frame is repeated on the next page when a page break occurs part way through. The master/detail Repeating Frame "Print Object On" is set to "Last Page".
    Any other ideas?
    TIA

  • Display the second report as modalform and filter with primary key value of first report when you click on first report column link

    Hi All,
    I have two reports.
    1. order report
    2. order detail report
    when you click on the order report column it display the order detail report as a modal form.
    i was done below steps.
    1. In page header i was written the below code
    <link rel="stylesheet" href = "http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/themes/
    redmond/jquery-ui.css" type="text/css" />
    <script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.js"> </script>
    <script src="http://ajax.googleapis.com/ajax/libs/jqueryui/1.7.2/jquery-ui.js"> </script>
    <script type="text/javascript">
    $( function() {
    $('#ModalForm1').dialog(
    autoOpen : false ,
    width :470,
    height: 500,
    resize :false,
    function openForm1()
    $('#ModalForm1').dialog('open');
    function closeForm()
    $('#ModalForm1 input[type="text"]').val('');
    $('#ModalForm1').dialog('close');
    </script>
    2. order report.
    3. order detail report
       select * from order_details where order_id = p_order_id;
    region header
    <div id="ModalForm1" title="Ordered Items" style="display:none">
    <p class="msg"></p>
    footer
    </div>
    4. created the hidden item in order detail report.
    5. in order report column attributes i was given link like below.
    javascript:$s('p_order_id','#order_id#');openForm1();
    when i click on the order report column link it passing the row primary key value to hiddent and open the report as modal form. however it is not filter the report with hidden item. it showing the no data found.
    problem is hidden item value is not submitting. once we submit that value it showing the 2nd report with filter data.
    can any help me to achieve above requirement.
    apex: 4.2
    oracle 11g
    Regards,
    Vijay.

    Vijay,
    Issue 1: Your usage of $s() JavaScript API seems to be wrong. For the first parameter, you need to use the name of the hidden page item and not p_order_id.
    javascript:$s('P1_ORDER_ID','#ORDER_ID#');openForm1();
    Issue 2: Seems like you are not setting the hidden page item's value in session state. Assuming your hidden page item is called P1_ORDER_ID, Under "Region Definition" tab of your "Order Detail Report" under "Source" tab, for page items to submit, enter the name of the hidden page item P1_ORDER_ID.
    Thanks!
    JMcG

  • Refresh ALV Report after return from dialog screen

    Hi All,
    I have developed an alv report which lists new products, when user clicks on a product it will take to custom dialog screen where user makes neccessary changes. Once the changes are done user clicks back the control comes back to the ALV report.
    My question is when they come back to ALV report it should refresh and list the new products. Basically I want to know is it possible to refresh the report when control is coming back from dialog screen to ALV report.
    Pls provide me a best way to handle this scenario.
    Regards,
    Anand

    Hi Archna
    This is the code I am using
    CALL FUNCTION 'REUSE_ALV_GRID_DISPLAY'
        EXPORTING
          i_callback_program      = v_repid
          i_callback_user_command = 'USER_COMMAND'
          i_callback_top_of_page  = 'TOP_OF_PAGE'
          i_grid_title            = i_title
          it_fieldcat             = it_fcat
          it_events               = v_events
          i_save                  = 'A'
        TABLES
          t_outtab                = it_alv_cvg.
    FORM user_command USING r_ucomm LIKE sy-ucomm
    rs_selfield TYPE slis_selfield.
      CASE r_ucomm.
        WHEN '&IC1'.
          READ TABLE it_alv_map INTO wa_alv INDEX rs_selfield-tabindex.
          IF sy-subrc = 0.
            SET PARAMETER ID 'ZCR' FIELD wa_alv-product.
            CALL TRANSACTION 'ZSD_PRODUCT_DIV' AND SKIP FIRST SCREEN.
          ENDIF.
      ENDCASE.
    ENDFORM.   
    After it goes to dialog when I clcik back it comes  back to the alv report.
    Now can you Pls tell me where to use the refresh.
    Regards,
    Anand

  • How to call function in updateable detail report field in apex 4.0

    i build a function which calculate the total price of the product by multiply qty* rate
    and i build a master detail form i want in the updatable detail report when i give the qty and rate then i call the culculation function and display the result in the field of price. but i don't know where i call the calculation function please help me
    Regards
    NOMAN RASHAD

    In your SQL:
    SELECT ename, job, your_function(sal, comm) your_calculation
       FROM empDenes Kubicek
    http://deneskubicek.blogspot.com/
    http://www.opal-consulting.de/training
    http://apex.oracle.com/pls/otn/f?p=31517:1
    http://www.amazon.de/Oracle-APEX-XE-Praxis/dp/3826655494
    -------------------------------------------------------------------

  • Force refresh a report

    Hello,
    Is there a way where we can refresh the report when the user opens it. Without having the user to click on refresh ?
    We are having some JS code in the report and without refresh it doesn't seem to fetch the latest values.
    Thanks in Advance.

    Thanks for the reply John.
    I have attempting to use the "Bypass Oracle BI Presentation Services Cache" it works well with a simple report. However when I use it over some of the other more complex answers I'm getting some really strange results. Essentially reports seem to run forever, the session monitor suggests they are complete however they never render on the screen. This problem seems particular to reports which are navigated to via a navigation target.
    The problem also seems to adversley affect presentation services even requiring a restart before they return to normal.
    Have you had much experience using "Bypass Oracle BI Presentation Services Cache". I've noticed there seems to be a metalink article and bug raised (Doc ID 737840.1), Oracle's suggestion: "Customers should only check this bypass cache box in rare circumstances for fast-running requests"
    This doesn't really satisfy our requirement.
    Cheers
    Tim

Maybe you are looking for

  • 64-bit plugin won't load

    Hi, I have a plug-in that I've compiled in 32-bit and 64-bit versions, and the 32-bit version loads fine in Photoshop 32-bit, but the x64 version fails to load in Photoshop 64-bit.  I saw Jim Watters' thread about this, and added this to my .r file:

  • Problem with MediaSou

    Hello When one song playing in MediaSource Organizer, about ten second to end, then start next song ( in this time playing 2 songs) How can fix it's Mayby update or change some setting? (then where) ThxMessage Edited by BlackLio on 07-4-2006 06:8 AM

  • Hyper NIC teaming HP ProLiant BL685c G7

    we are in process of creating HYPER-V 2012 r2 with 2 server initially. HP ProLiant BL685c G7 (2 server ) Below are the NIC details, and we have IBM SAN storage, Can someone provide or links some details, where I can create a NIC bonding Can I bond al

  • I can not "save as source" an MP4 object web page in Firefox 6 for MAC

    I download MP4 music from VIMEO. When I click the link on their website to download the video it downloads and opens in a firefox webpage. I used to be able to Control click on the open VIMEO webpage window on my MAC and then I could choose "Save as

  • How can I upgrade ver 10.5.8 so I can migrate with my new macpro

    I am using Max OS X Ver 10.5.8. How can I upgrade my MacBook I am using Max OS X Ver 10.5.8. How can I upgrade my notebookso I can migrate with my new MacPro?