Rendering differences when "go to last page" navigation button is clicked

Hi All,
Critical issue here, apparently a new rendering bug in the crystal report viewer:
In a framework 3.5 sp1 application (vb.net) using the Crystal Report Viewer, ***. version 12.0.2000.0 , file version 12.3.2002.753 (i.e. 2008 with sp3 installed and fp3.2 installed over that), I have a report that will render differently depending on whether or not the user clicks the "go to last page" button, or whether they just print/export/use single page advance navigation.
The difference in rendering is that "report footer a"  (there are "g" of these) is not displayed.  This footer contains essential summary information for the grouped data above. 
Related, but subtly different, is that the last group header/detail/group footer is not displayed if the details section is empty, again, IFF the go to last page button is clicked.  It renders correctly if go to last page is not used.
The unique thing about the reporting implemenation in this app is that the fields/headers are dynamically positioned at runtime (based on user settings).  Similarly, the fonts, heights and visibility (i.e. SectionFormat.EnableSuppress) of group sections are also dynamically set at run time.  The ReportDocument object manipulation is done entirely in memory and is not (at least by me) persisted to disk before rendering in the viewer. 
Is there a work around, programmatic or otherwise, other than removing the navigation buttons?  What assumptions is the rendering engine making about section size as it (apparently) short circuits sequential rendering when the go to last page button is clicked?
Any clues would be greatly appreciated.
Best,
_t

Hi Don,
Thanks for the response.
It's a winforms app. 
The data access is through typed datasets that are filled on the client using linq to objects (i.e. not a connection to a remote db).  There is one main ds (which has the report's detail data).  There are also 5 unrelated subreport ds's that are used to fill standard header/footer information.
I can export the report to an rpt file through the app, but the data is never included.  Haven't found a way to get data to save with rpt file.  ReportOption save data with report is checked for the report, but the actual data never gets saved into the rpt file. 
Formatting of report, post programattic manipulation, is as I expect and appears identical irrespective of clicking the "go to last page" nav button.
I would hazard a guess that it's not a caching issue since the rendering bug occurs only if the go to last page (GTLP from now on)  button is clicked BEFORE the report has been navigated through sequentially or exported.  Once exported or single-page advanced through, the report renders correctly (i.e., the GTLP  appears to be reading from the cache, and not running it's own rendering scheme). 
Is there a way to dump the cache manually?  At the very least I could dump the cache before printing/exporting to ensure that the export  function creates a fresh (and bug free) rendering.  It is the output to paper/pdf etc that is most critical.  If there's a bit of stupidity on screen, I can convince my clients to laugh this off as a bit of silly screen junk, but the externalization of the data (pdf or print) must be reliable.
Cheers,
T

Similar Messages

  • Interactive Reports - First Page / Last Page Navigation

    Hi,
    I've been trying to implement the First Page / Last Page navigation on my interactive reports using the solution provided by Jari in the following thread:
    Column Alignment / Pagination in Interactive Reports
    My question is how do I calculate the report max rows to set the value of P1_MAX_ROWS per the following statement:
    'I have hidden item P1_MAX_ROWS where I count report max rows using Before Header Computation.'
    Thanks for the help,
    Mary

    Would you mind explaining this a little further, Jari?
    Do I have to determine the IR filter (via the APEX_APPLICATION_PAGE_IR_COND view) in order to create the SQL to calculate the max row count ? Or is it much simpler than that?
    Thanks,
    Mary
    Edited by: M L on Aug 4, 2010 5:30 PM

  • How to create a 'Last Page Viewed' button

    I would like to create a last page viewed button which can be placed at the footer of each page of a document.  I currently write user manuals running into hundreds of pages which all contain hyperlinks at various points.  For example, a list of drawings when clicked will jump to whichever drawing has been selected. In this case I need to provide the user with a method of jumping back to the original list.  As this drawing may also have a link from elsewhere in the manual  the button should take the user to the last viewed page rather than any specific location.
    I hope this makes sense, any suggestions appreciated.
    Trev
    Currently using Acrobat XI Pro and Win 7

    This has nothing to do with HTML.
    In Form Edit mode, create your button on the first page, then go to its
    Properties, Actions tab, and add a new Mouse Up action with the "Execute a
    menu item" command. From the list that pops up select "View>Page
    Navigation>Previous View". Set the button's caption and other properties
    and then exit the Properties dialog. Now right-click the button and select
    "Duplicate Across Pages". This will allow you to create identical copies of
    this button on all the pages in the file.

  • Print, Export and Page Navigation Buttons in the Report

    When I view a report through CR4E, the generated report has 3 buttons namely Print, Export and Page Navigation buttons. But when I click on either of the buttons I get a 'null pointer exception'. This is a critical error as I am unable to navigate past the first page. Do I have to add code to these buttons? If not, why am I getting an error? Kindly solve my problem as soon as possible.

    <p>Looking at your code it appears that you are storing the ReportSource in session prior to passing in the ResultSet. This will create a problem when a postback is made on  the viewer page (which all of the viewer actions do). If you look at the sample code which is generated when you use the JSP Page Wizard you will notice that the ResultSet is passed to the ReportClientDocument object prior to it being stored in session. Then, when the page is called again this object is retrieved and the ReportSource is used by the viewer. You can quickly run the test using one of our sample reports to see what I am talking about. The code below was generated using the Consolidated Balance Sheet.rpt and did not experience any problems doing any of the viewer actions.</p><%@page import="com.businessobjects.samples.JRCHelperSample,<br />com.crystaldecisions.report.web.viewer.CrystalReportViewer,<br />com.crystaldecisions.reports.sdk.ReportClientDocument,<br />com.crystaldecisions.sdk.occa.report.application.OpenReportOptions,<br />com.crystaldecisions.sdk.occa.report.lib.ReportSDKExceptionBase,<br />com.crystaldecisions.sdk.occa.report.reportsource.IReportSource,<br />java.sql.Connection,<br />java.sql.DriverManager,<br />java.sql.ResultSet,<br />java.sql.SQLException,<br />java.sql.Statement"%><%<br /><br /><br />    try {<br /><br />        String reportName = "Sample Reports/Consolidated Balance Sheet.rpt";<br />        ReportClientDocument clientDoc = (ReportClientDocument) session.getAttribute(reportName);<br /><br />        if (clientDoc == null) {<br /><br />            clientDoc = new ReportClientDocument();<br />            <br />            // Open report<br />            clientDoc.open(reportName, OpenReportOptions._openAsReadOnly);<br /><br />  <br />            {<br />                // **** POPULATE MAIN REPORT ****<br />                {<br />                     // Connection Info for fetching the resultSet<br />                    String connectStr = "jdbc:derby:classpath:/Xtreme";<br />                    String driverName = "org.apache.derby.jdbc.EmbeddedDriver";<br />                    String userName = "dbuser";        // TODO: Fill in database user<br />                    String password = "dbpassword";    // TODO: Fill in valid password<br /><br />                    String query = "SELECT CUSTOMER_NAME FROM APP.CUSTOMER WHERE COUNTRY = &#39;Australia&#39;";<br /><br />                    <br />                    String tableAlias = "FINANCIALS";        // TODO: Change to correct table alias<br /><br />                     <br />                    JRCHelperSample.passResultSet(clientDoc, fetchResultSet(driverName, connectStr, userName, password, query),<br />                        tableAlias, "");<br />                }<br /><br /><br />            }<br />        <br />            // Store the report document in session<br />            session.setAttribute(reportName, clientDoc);<br /><br />        }<br /><br /><br />            {<br />                // Create the CrystalReportViewer object<br />                CrystalReportViewer crystalReportPageViewer = new CrystalReportViewer();<br /><br />                //    set the reportsource property of the viewer<br />                IReportSource reportSource = clientDoc.getReportSource();                <br />                crystalReportPageViewer.setReportSource(reportSource);<br /><br />                // set viewer attributes<br />                crystalReportPageViewer.setOwnPage(true);<br />                crystalReportPageViewer.setOwnForm(true);<br /><br />                // Process the report<br />                crystalReportPageViewer.processHttpRequest(request, response, application, null); <br /><br />            }<br />            <br /><br />    } catch (ReportSDKExceptionBase e) {<br />        out.println(e);<br />    } <br />    <br />%><%!<br />// Simple utility function for obtaining result sets that will be pushed into the report.  <br />// This is just standard querying of a Java result set and does NOT involve any <br />// Crystal JRC SDK functions. <br /><br />    private static ResultSet fetchResultSet(String driverName,<br />            String connectStr, String userName, String password, String query) throws SQLException, ClassNotFoundException {<br /><br />        //Load JDBC driver for the database that will be queried    <br />        Class.forName(driverName);<br /><br />        Connection connection = DriverManager.getConnection(connectStr, userName, password);<br />        Statement statement = connection.createStatement(ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY);<br /><br />        //Execute query and return result sets<br />        return statement.executeQuery(query);<br /><br />}%><p>Try using the code generated from the wizard to see if it works for you as well. </p><p>Regards,<br />Sean Johnson (CR4E Product Manager) </p>

  • How to get the page navigation buttons back at the bottom of the page?

    After upgrading to Acrobat X I discovered that there is only one option for the page navigation buttons - at the upper left. I'm mystified as to why they put them there. Most users are right-handed. With the buttons at upper left it's awkward to reach up there, across the page, with the mouse cursor for every page turn (yeah, I know you can use the PgUp/PgDnkeyboard keys, but that requires taking your hand off the mouse every page turn).
    What I really want is to be able to put a copy of these buttons back down at the bottom center of the page, which was an option in previous versions. Is there some way to get those back at the bottom?

    Hi terpenoid,
    Have you tried Read Mode yet ( under the View menu)?  It displays a nivagation bar at the bottom of the PDF with next/previous page, zoom in/out, etc.
    Hope this helps,
    Dimitri
    WindJack Solutions
    www.windjack.com
    www.pdfscripting.com

  • When at the "results" page of a search, clicking on "blue" link does not display webpage. Copying "green" urldoes.

    When at the "results" page of a search, clicking on "blue" link does not display webpage although url is shown in address bar. Copying "green" url, shown at bottom of a result, into address bar and hitting "enter" goes to the address and displays the page. Have tried different selections at tools/options with no change. Is there some other setting that needs to be changed?

    Sorry, this is bad reply. I wanted to write this reply to another question.

  • Can't see the page navigation button in flash model?

    Can't see the page navigation button in flash model? how to do it?
    Thanks in advanced!

    Hello Wei Liu,
    For both WD and flash you have the following connectors: start, end, signal in, signal out, data store and user data.
    In WD you have in addition navigate.
    In flash you have popup signal and timer.
    See also SAP Note No. 936547.
    Best regards,
    Shay

  • I upgraded to version 9 from version 8. The following items do not work properly - menu, home page, navigation bar, wheel click. I backed up to version 8, and none of this stuff works right. How do I fix this?

    When I open Firefox, the bookmark menu is a little tab in the upper left corner. If I go to view and un-click bookmark menu and then view, click it, the standard menu bar shows up. The Back and Forward buttons don't work. The navigation window does not show the URL of the current page. When opening, the home page does not come up. The wheel click works on the bookmark bar, but not within a page. The menu (file, edit, etc) does not work after the first page. Version 8 worked well. When I upgraded to version 9, all this trouble started. I backed up to version 8, but the problem persists.

    Start Firefox in <u>[[Safe Mode]]</u> to check if one of the extensions or if hardware acceleration is causing the problem (switch to the DEFAULT theme: Firefox (Tools) > Add-ons > Appearance/Themes).
    *Don't make any changes on the Safe mode start window.
    *https://support.mozilla.com/kb/Safe+Mode
    Create a new profile as a test to check if your current profile is causing the problems.
    See "Basic Troubleshooting: Make a new profile":
    *https://support.mozilla.com/kb/Basic+Troubleshooting#w_8-make-a-new-profile
    There may be extensions and plugins installed by default in a new profile, so check that in "Tools > Add-ons > Extensions & Plugins" in case there are still problems.
    If that new profile works then you can transfer some files from the old profile to that new profile, but be careful not to copy corrupted files.
    See:
    *http://kb.mozillazine.org/Transferring_data_to_a_new_profile_-_Firefox
    *http://kb.mozillazine.org/Standard_diagnostic_-_Firefox

  • Page navigation buttons not working properly

    Hi,
    I am having a multilingual Java Application (e.g. English, Japanese, French...).  In this application there are reports which display the data using locale parameter (like en_US, ja_JP etc.) to display the data in selected language.
    The problem comes up when I see Japanese reports on English operating system machine and vice versa.
    When I click any button of page navigation it changes the page number but does not load and display the page accordingly.
    It's like when I run the report it displays the first page, then clicking on Next button brings 2 in navigation field but the report  would still show first page, same happens for 3, 4.... all pages. 
    The other navigation buttons also do not work, they change the page number but display only the first page.
    This problem does not occur when I see Japanese reports on Japanese OS machine and English reports on English OS machine.
    However my clients need the first case, Japanese reports should work on English OS machine also.
    Please advise urgenly.

    Hi,
    I resolved the above issue by removing the call to method setProductLocale in jsp file (which was really unnecessary in code as product locale is meant to set languange for crystal report design environment ).
    Actually the problem was I had set locale at two place
                    1. using setLocale method of ReportClientDocument object) after the initialization of report client document object
                    2. using setProductLocale method of CrystalReportViewer object after the initialization of Crystal Report Viewer  object
    After commenting out code for setProductLocale, reports in all languages and all their functionalities started working 100% perfectly.
    Thanks.

  • Previous page navigation after on click of cancel button of a form in adf

    Hi,
    Can any one tell how previous page navigation works in adf?
    I am working on a portal page which is having a common footer for all jspx pages.This footer contains a golink for feedback form.
    so the problem is when I Navigate to any page (# page 1)and then Navigate to some other page (#page 2) and on click of Feedback link displayed on footer of page 2 Feedback form is displayed. and on Click of Cancel button of the form.
    Expected Result:
    User should be navigated to the page that they were on. (i.e., Page 2)
    Actual Result:
    User is navigated to page 1 instead of page 2
    i.e it is taking browser previous url.
    I am using the following code for the cancel button
    <af:commandLink text="Cancel" id="cl5">
    <af:clientListener method="goBack" type="click"/>
    </af:commandLink>
    java script....
    function goBack()
    window.history.back()
    Edited by: 993530 on Apr 23, 2013 3:35 AM

    Hi,
    Immediate = true is already been set for cancel button
    The problem is when i come back to the 1st page vo is getting executed again and is taking lot of time.. i need to see that vo does not get executed again
    in the vo for view criteria -- query execution mode , i have made as in memory and now it has become fast on click of cancel button. But i am getting the following error when i perform search in the first page
    Missing FROM in a SELECT statement
    An unexpected expression token is found.
    Thanks,
    .

  • Page Navigation Button Functionality

    Hi all,
    I'm wondering if anyone knows of any other way to get "back" or "previous view" functionality through a button on the iOS app.
    This is what my button does. It works flawlessly on the desktop version of Adobe Reader.
    Clicking the button basically returns you to the last page you were looking at. Unfortunately, the button doesn't seem to work on the mobile app at this time.
    So I have two questions for you!
    1. Do you know of any way I could get this same functionality on the iPad app?
    2. How do I submit a feature request for this?
    Thank you guys!

    Your request will be read here by the product manager and Adobe engineers.
    Keep in mind that Adobe Reader for iOS is very new and not nearly as mature as PDF viewers for Mac and Windows.

  • On album pages, navigation buttons upload as ? marks. how to avoid?

    on uploaded album pages, enlarged photo feature has ? marks for navigation buttons. why?

    You need to check that everything has been uploaded to your server correctly - questions marks means that probably, your scripts folder has not been uploaded.
    You need to check at your host to see that all your files have actually been uploaded.

  • Events shows hour difference when published to .mac page

    I upgraded to Leopard and suddenly the events I have in my iCal on my Macbook are published an hour later. An event scheduled for 10:00 on my Mac shows 9:00 on the .mac page. This is very inconvenient, since I use the iCalendar online to have all my collegues informed!
    I tried unpublishing the calender, exporting it, deleting and re-importing, but that did not help. Many items are weekly repeating events that were made during daylight saving time. Could this be the cause?

    go to system preferences>date&time> date&time and check if you have the correct settings as in automatic clock
    go to system preferences>date&time>time zone and check if you have the correct time zone and city
    go to ical>preferences>advanced and check if you have selected time zone support
    hope this helps

  • KDE difference when starting programs from desktop or button

    This is very strange. I'm using KDE 3.5.4 from normal Arch packages.
    I've noticed that Firefox (installed from mozilla.org, not package) looks different when started from the desktop icon, than when started from the kicker button. The desktop icon is a 'Link to application'.
    The kicker button is a 'Non-kde application'.
    I wondered how it can look different, so I started each copied the process environment to a file of both (one after the other)*. I compared the environments and the interesting this is, one has
    DISPLAY=:0
    the other has
    DISPLAY=:0.0
    but that's not so important.
    The one started from the desktop has GTK2_RC_FILES and GTK_RC_FILES set, the one from kicker didn't have them. The one started from the desktop also had  ~/.kde/share/config/gtkrc-2.0 in GTK2_RC_FILES and this was actually what caused the difference in the firefox look.
    After I removed that file, now Firefox looks the same in both cases - the way I set it up with gtk-theme-switch2 (and some personal corrections in ~/.gtkrc-2.0).
    NOW, is this a BUG a FEATURE or what? Also,
    - can anyone else see this behaviour?
    - can anyone check in other KDE versions?
    - in other distributions?
    * The commands I used, in case anybody needs it:
    cat /proc/PID/environ | xargs -0 -n1 | sort > firefox-env.desktop
    cat /proc/PID/environ | xargs -0 -n1 | sort > firefox-env.button

    You could try repairing the permissions while the drive is in the computer. After that, try ejecting it to see if everything is back to normal. an alternative you could try first is to relaunch the Finder from the force quit menu.

  • Why is it that sometimes when I use my middle mouse button to click on a link to open it in a new tab I will have it open it in an entirely new instance of Firefox instead of a new tab?

    Occasionally when I click on a link with my middle mouse button, instead of opening the page in a new tab, it will open a new instance of Firefox.
    I've looked through some of the settings and I wasn't able to find anything. It really gets to be bothersome at times because I prefer things to be in tabs instead of a new browser.

    It's not specific sites. I can middle-click on the same link 50 times and it will open it in a new tab 45 times and 5 of those times, it will randomly open it in an entirely new window. I don't know what's causing this.
    It happens so randomly that I don't know how to pin-point what it could be.

Maybe you are looking for