Unable to view next page of report in Crystal Viewer using JAVA

Post Author: sartu
CA Forum: JAVA
We have been able to successfully deploy a report through Crystal viewer XI /Java /Sun Solaris, report works fine, able to suppress group tree, but unable to veiw 2nd page of report.    The suppression of the group tree in the web page required a simple command , is there one that allows us to proceed to the next page?  I am not JAVA savvy so I will be communicating this to the person who will be making the correction, please pardon me if I left something out.
Thank you!

Post Author: Ted Ueda
CA Forum: JAVA
It's not clear whether your issue is with the Page Navigation controls not working, or whether you wish to programmatically skip the first page and go to the next page.  If the latter, then the CrystalReportViewer class has a showNthPage method.
Sincerely,
Ted Ueda

Similar Messages

  • When I try to open a recent document I get the following message "You need a newer version of Pages to open this document."  I have downloaded version Pages version 5.2.2 and the app store confirms this, but my Pages About reports that I am using 4.3

    When I try to open a recent document I get the following message "You need a newer version of Pages to open this document."  I have downloaded version Pages version 5.2.2 and the app store confirms this (and won't let me download it again), but my Pages About reports that I am using 4.3

    Here is the solution that I received from the chat line.
    When you update applications like Pages it usually keeps both versions on the computer. So what most likely happened is it didn’t put the new version on your dock. So to fix this, open a finder window. And go into applications which should be listed on the left. Scroll down and you will see Pages listed in here. And the icon should look different. You can drag that icon down onto your dock.Open that and you then can access your documents

  • Next page on report reset checkbox columns

    Hello
    I have interactive reports using apex.item and htmldb_application arrays to treat check box column. But if I check few lines and press next page, the checked items are lost. I understand why it happens, but how can I fix it?
    I want either apex to remember the checked lines on previous page, or on pressed next page autoamtically launch process to treat the checked lines. Such process I already have on the page as pl/sql process launched by button.
    Thx
    L.

    Hi,
    Store checkbox values to collection.
    This might help
    Re: Need help with APEX_Collection
    Regards,
    Jari

  • Converting a Crystal 4.6 report to Crystal XI using Visual Basic 6.0

    I followed instructions for migrating from the OCX to the RDC.....
    and the Crystal viewer will open but it's not passing my sql query to the crystal report,
    so it ends up loading every single record in the database. I tried adding code to
    actually open the db, but that didn't seem to work.
    Your help is greatly appreciated!
    Set rsCrystal = New ADODB.Recordset
    rsCrystal.Open Csql, gdb, adOpenStatic, adLockReadOnly
    Form 1
    'Declare the application object used to open the rpt file.
    Dim CrystalApp As New CRAXDDRT.Application
    'Declare the report object
    Public CrystalReport As CRAXDDRT.report
    Form_Load
    Reportname = Path + Filename
    Set CrystalReport = CrystalApp.OpenReport(Reportname, 0)
    end sub
    Private Sub Command1_click
    ' Call form2 to preview the report
    Form2.show
    end sub
    Form 2
    Private sub Form_load
    CRViewer1.Reportsource = Form1.CrystalReport
    CRViewer1.ViewReport
    end sub
    Nancy

    What I needed to do is set the viewer's reportsource to the sqlquerystring
    from the Crystal Report object.
    In the print module of form1 (where you select if view or print):
    CRReport.SQLQueryString = "Select....from....where"
    In the load module of form2 (viewer):
    CRViewer.ReportSource = frmPrint.CRReport

  • Report in Crystal CRXI using Workshop class datasource

    I am trying to create a report using Crystal Reports XI that uses a Workshop class as a datasource. The documentation for V10 and XI says that any compiled java class that has a public method returning a java.sql.ResultSet object can be used as a data source.
    I followed an example in the Crystal documentation that uses a bean compiled outside of Workshop and it works fine. When I try to point the config file to my Workshop classes, it does not list any of my class files. Has anybody successfully done this?

    Hi Sudhir,
    For Building up a connection for OLEDB  we need :
    In order for Crystal Reports to connect to a database through OLE DB, there are some requirements that must be met:
    u2022     The database client software must be installed on the client machine.
    u2022     The client machine must be able to connect to the server from its client software
    u2022     The client softwareu2019s working directory (example. c:\orant\bin) must be in the Windows search path
    u2022     The OLE DB provider must be installed on the local machine.
    We have the connection for crystal reports through OLEDB :
    The process by which Crystal Reports access data from an OLE DB data source consists of these five layers:
    Crystal Reports Layer
    OLE DB Translation Layer
    OLE DB Layer
    DBMS Translation (OLE DB provider) Layer
    Database Layer
    The data translation is similar to the ODBC connection model. Crystal Reports uses CRDB_ADO.DLL to communicate to the OLE DB provider, which communicates to the database. Crystal Reports can connect to any database as long as that database has an OLE DB provider.
    When creating a new report in Crystal Reports, OLE DB data sources are found in the Create New Connection folder with the OLE DB (ADO) connection.
    Regards,
    Naveen.

  • Help with pushing records to next page in report

    Hi,
    I am trrying to create a report that will display records on seperate pages. My record set has a common reference number with many other detail columns. So an example would be:
    ref num 1         detail        detail        detail
    ref num 1         detail        detail        detail
    ref num 1         detail        detail        detail
    ref num 2         detail        detail        detail
    ref num 2         detail        detail        detail
    ref num 2         detail        detail        detail
    and so on...
    I need the report to take the records from ref num1 for the first page (or more if necessary) and then start a new page for the next record and so on. I have tried using the "New page after" function with no sucess and really hope someone here has overcome this and can help.
    Thanks a mil
    Phil.

    Hi Sastry,
    The report is actually a batch of invoices. I have a stored Procedure returning the records of the invoices and the report template is so far set up as follows,
    the page header has unique invoice details listed there.
    --- name and address etc
    the details section is supressed
    there is a group footer section with the repeating product details of the invoice there.
    --- date, product 1, amount, total
    --- date, product 2, amount, total  etc...
    the report is sorted by the date of the products in the croup section
    there is a page footer section similar to the page header.
    --- totals information
    when the report is for one invocie it will work as the products all appear in the group section as expected. when the report is for more than one invoice it mixes all the records up and prints two invoices with incorrect details. the record set returned by the stored procedure is as per my first thread.
    I hope this makes some sense. I have not had much crystal reports training and may need to start this one from scratch. Bacically we have a system that uses crystal to print our invoices. The system will only ever output one invoice record at a time. I copied the report template hoping i could adapt it to be able to print many records at a time as a report.
    Thanks a mil for you time all the same.

  • Wrapped column "bleeds" onto next page of report

    Does anyone know how to stop a wrapped column from printing on two different pages in sqlplus? I have this sqlplus report that has a certain page size. Whenever it hits the end of a page it doesn't care if it splits a wrapped column in half. See below in the example, where it splits the last name "jones-macdonald" across two pages.
    LAST NAME FIRST NAME ADDRESS page 1
    smith john some address
    smith james some address
    jones-macdo loretta some address
    LAST NAME FIRST NAME ADDRESS page 2
    nald
    johnson lucy some address
    Thanks to anyone who can assist.
    --Susan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                       

    Yes, I did set a format and told it to WRAP. Unfortunately, my report contains a number of columns that must wrap or the line is too long. However, some people complain about the way it splits the data across two pages.
    I can't find anything in the sqlplus documentation on how to fix this. Maybe there is a trick someone knows.
    --Susan                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • Unable to view web page no matter what browser i use

    Ok on my MacBook i am unable to view a web site no matter what browser i use. If i go to another computer in my network i am able to view this site. If i take my laptop to another network it will still not work.  I have run permissions and disk warrior. I did try a few things with onyx as well but was not so sure what i was doing. Any suggestions?

    What is the error?
    The DNS cache could be stuck.
    In the Terminal try:dig www.macupdate.comIt should reply that it is 70.86.154.194.
    If that doesn't work, you DNS is not working and pointing you to the wrong place.
    You can try clearing the DNS cache with dscacheutil -flushcacheAlmost forgot to mention: there are several threads on similar problems.
    Message was edited by: Barney-15E

  • Viewing sub reports with Crystal Viewer XI

    I am getting an error message when I try to open up a Crystal Report that has sub reports included.
    "This report contains invalid subreport linking parameters."
    Any ideas on how I can save report with sub-reports so that they can be read with Crystal Reports Viewer XI  offline?

    Hi Anders
    Are you getting the error message in Crystal Report Designer or Crystal Report Viewer?
    Would suggest you to follow the below steps in Crystal Report Designer:
    -Create a fresh report,in which insert linked sub report based off your database.
    -Create a fresh report,in which insert linked sub report based off Xtreme Sample Database.
    With this we can narrow down the issue ,whether this error occurs with this particular report or all report?
    Thanks
    Asha Lund.
    Edited by: Asha Lund on Jul 31, 2008 3:32 PM

  • Calling CRMOD ContactDetail page? is it possible? using JAVA JSP?

    Hi to all,
    I am new to CRMOD itegration. Just want to know if it is possible to call the ContactDetail page of CRMOD automatically. So far I am able
    to query data using WSDL, anybody have a sample code on how to call ContactDetail Page.
    public static void main(String[] args) {
    String jsessionid, jsessionid_full;
    String endpoint;
    try {
    CRMOD crmod = new CRMOD();
    System.out.println("Loggin In");
    jsessionid_full =
    crmod.logon("https://secure-vmsomxlta.crmondemand.com/Services/Integration", "xxxxxxxx-zz","jeraiya");
    jsessionid = getSessionId(jsessionid_full);
    System.out.println(jsessionid);
    endpoint = "https://secure-vmsomxlta.crmondemand.com/Services/Integration" + ";jsessionid=" + jsessionid;
    URL urlAddr = new java.net.URL( endpoint);
    crmondemand.ws.contact.Contact service = new crmondemand.ws.contact.ContactLocator();
    crmondemand.ws.contact.Default_Binding_Contact stub = service.getDefault(urlAddr);
    crmondemand.ws.contact.ContactWS_ContactQueryPage_Input contactlist = new
    crmondemand.ws.contact.ContactWS_ContactQueryPage_Input();
    crmondemand.ws.contact.ContactWS_ContactQueryPage_Output outlist = new
    crmondemand.ws.contact.ContactWS_ContactQueryPage_Output();
    crmondemand.xml.contact.Contact[] contacts = new crmondemand.xml.contact.Contact[1];
    crmondemand.xml.contact.Contact contact = new crmondemand.xml.contact.Contact();
    crmondemand.xml.contact.Activity[] activities = new crmondemand.xml.contact.Activity[1];
    crmondemand.xml.contact.Activity activity = new crmondemand.xml.contact.Activity();
    activity.setSubject("");
    activity.setType("");
    activity.setRowStatusOld("");
    activities[0] = activity;
    contact.setContactLastName("='Bucio'");
    contact.setContactFirstName("");
    contact.setContactId("");
    contact.setListOfActivity(activities);
    contacts[0] = contact;
    contactlist.setPageSize("10");
    contactlist.setUseChildAnd("false");
    contactlist.setStartRowNum("0");
    contactlist.setListOfContact(contacts);
    outlist = stub.contactQueryPage(contactlist);
    crmondemand.xml.contact.Contact[] results = new crmondemand.xml.contact.Contact[1];
    results = outlist.getListOfContact();
    crmondemand.xml.contact.Activity[] activitiesout = new crmondemand.xml.contact.Activity[1];
    int lenC = results.length;
    if (lenC > 0) {
    for (int i = 0; i < lenC; i++) {
    System.out.println(results.getContactFirstName());
    System.out.println(results[i].getContactLastName());
    System.out.println(results[i].getContactId());
    int lenA = results[i].getListOfActivity().length;
    if (lenA > 0) {
    for (int j = 0; j < lenA; j++) {
    activitiesout = results[i].getListOfActivity();
    System.out.println(" " + activitiesout[j].getSubject() + ", " + activitiesout[j].getType());
    crmod.logoff("https://secure-vmsomxlta.crmondemand.com/Services/Integration", jsessionid_full);
    System.out.println("Loggin Out");
    } catch (Exception e) {
    System.out.println(e);
    Please if it is possible please post a sample.tnx

    How about adding a use case? You may find an alternative approach.

  • Input xml file to crystal report and output  pdf  using java

    Hi all,
    I am in need, I am trying to give the input as dynamic extended Markup Language      and output to be Plain Document Format file, in my crystal report using simple java code. If possible can anyone drop a sample code. that would be great.

    Hi Naveen,
    If i have understood your requirement from your last post. this code should solve your problem.
    What i understand is you want to export a report to PDF format and this report is using XML file data.
    The below code Uses a report designed in Crystal report XI R2.
    Its a Standalone application which uses a Dataset made using the xmldata(xml file) and the xmlschema(xsd file).
    This Dataset is used to populate the report with data.
    Eventually the report is exported to a physical location at the end of this code.
    import com.crystaldecisions.ReportViewer.*;
    import com.crystaldecisions.reports.sdk.*;
    import com.crystaldecisions.sdk.occa.report.reportsource.*;
    import com.crystaldecisions.sdk.occa.report.exportoptions.*;
    import com.crystaldecisions.sdk.occa.report.data.IXMLDataSet;
    import com.crystaldecisions.sdk.occa.report.lib.IByteArray;
    import java.io.*;
    public class XMLData
         public static void main(String[] args)
              final String RPT_NAME = "XMLReport.rpt";
              try
                   ReportClientDocument rpt = new ReportClientDocument();
                   rpt.open(RPT_NAME, 0);
                   FileInputStream fin = new FileInputStream("C:
    Thick_client
    Amol_Sir
    Amol.xsd");
                     ByteArrayOutputStream baos = new ByteArrayOutputStream();
                     byte[] bytes = new byte[1024];
                     for(;;)
                            int count = fin.read(bytes);
                            if(count < 0)
                            break;
                              baos.write(bytes, 0, count);
                    final byte[] xsdBytes = baos.toByteArray();
                    fin.close();
                    //read xml file
                    fin = new FileInputStream("C:
    Thick_client
    Amol_Sir
    Abhi.xml");
                     baos = new ByteArrayOutputStream();
                     bytes = new byte[1024];
                     for(;;)
                            int count = fin.read(bytes);
                                if(count < 0)
                            break;
                                 baos.write(bytes, 0, count);
                   final byte[] xmlBytes = baos.toByteArray();
                   fin.close();
                   IXMLDataSet xml_ds = new IXMLDataSet()
    private IByteArray xmlData = null;
    public void setXMLData(IByteArray xmlData) {
    this.xmlData = xmlData;
    public IByteArray getXMLData() {
    return this.xmlData;
    private IByteArray xmlSchema = null;
    public void setXMLSchema(IByteArray xmlSchema){
    this.xmlSchema = xmlSchema;
    public IByteArray getXMLSchema() {
    return this.xmlSchema;
         xml_ds.setXMLData(new IByteArray() {
         public void fromString(String arrayValue){}
         public String toString() { return ""; }
         public byte[] getBytes() { return xmlBytes; }
         xml_ds.setXMLSchema(new IByteArray() {
         public void fromString(String arrayValue){}
         public String toString() { return ""; }
         public byte[] getBytes() { return xsdBytes; }
    rpt.getDatabaseController().setDataSource(xml_ds, "books/book", "books/book");
    ByteArrayInputStream byteArrayInputStream = (ByteArrayInputStream)rpt.getPrintOutputController().export(ReportExportFormat.PDF);
    rpt.close();
    byte byteArray[] = new byte[byteArrayInputStream.available()];
    //Create a new file that will contain the exported result.
                   File file = new File("C:
    Thick_client
    Copy of Amol_Sir
    ExportedReport.pdf");
                   FileOutputStream fileOutputStream = new FileOutputStream(file);
                   ByteArrayOutputStream byteArrayOutputStream = new ByteArrayOutputStream(byteArrayInputStream.available());
                   int x = byteArrayInputStream.read(byteArray, 0, byteArrayInputStream.available());
                   byteArrayOutputStream.write(byteArray, 0, x);
                   byteArrayOutputStream.writeTo(fileOutputStream);
                   //Close streams.
                   byteArrayInputStream.close();
                   byteArrayOutputStream.close();
                   fileOutputStream.close();
                   System.out.println("Successfully exported report");
              catch (Exception exception)
                   System.out.println(exception.toString());

  • Report Viewer 2015 not navigating to next page

    I am using a report viewer 2015 in an ASP.NET application with credentials passed using IReportServerConnection2. 
    But after clicking next page on report viewer toolbar, 2nd page of report is not shown. 
    The issue is reproducible with
    ASP.NET application installed on Windows Server 2008 R2 but not when installed on Windows 8.1.
    Please help its urgent. 

    Hi Vaibhav,
    Is there any error displayed for this issue? If you can debug the ASP.NET application in VS, can you try to set breakpoint at the event
    protected
    void
    Application_Error(object
    sender,
    EventArgs
    e)
    in Global.asax.cs to see whether the breakpoint would be hit and what kind of error it is when clicking next page.
    Thanks,
    Wynn

  • In Lion, Safari pages hang in full screen mode.  If you exit full screen mode, the next page you intended to view appears.

    In Lion, Safari pages hang in full screen mode.  If you exit full screen mode, the next page you intended to view appears.
    This happens nearly every time I use Safari.  I will be clicking on links, when it appears to hang.  By exiting full screen mode, upon minimizing the next page I was intending to view appears.  This does not happen on all websites, but many that I visit.

    Here's a stupid question, but I'm sure I'm not the only one - how exactly DO you minimize the safari fullscreen mode??  I keep reading about orange or yellow tabs which don't exist, at least on my 27 iMac. Control m doesn't work either. I wish Apple would have a basic 3 or 4 page instruction manual on this. Unless there are major bugs still.  By the way, this is only one of many problems I'm having with Safari.  Occasionally the tool bar just dissappears. And, don't get me started about how the dock in Lion simply stopped accepting some icons, including Firefox. None of these problems happened when I first installed Lion. Each upgrade seems to have more bugs, not less.

  • Overset text will not go into the text box that is part of the master for the next page

    I am trying to (first time user) set up a simple trade-paperback sized book with some photos.  Have set up several masters for chapter title pages, chapter inner pages, etc.  When I copy text out of Word into InDesign, (copy/paste) the text overset box appears.  I load it, then go to the next page, which I have already formatted using one of the masters.  But when I select the desired text box ((Ctrl/shft) and click, the overset text forms a new text box, What am I doing wrong? thanks

    I have done, this did work right for at least the left side of the spread, but never for the right side -
    Make sure the left and right page master page text frames are threaded View>Extras>Show Text Threads. Here I have left and right page text boxes threaded on my A-master spread:
    Checking Smart Text Reflow can make adding long text to master frames easier:
    With Smart Text Reflow enabled I've released the  master page text box on page 1, note the released frame has a solid border, while the unreleased master page frames on subsequent pages are dotted indicating they are still master page items and not page items.
    The result of the paste:

  • Using Javascript to go to next page

    I'm trying to figure out how to advance to the next page in a captivate 3 course using Javascript. We have navigation buttons for "Prev" and "Next", but I'd like to be able to call some JavaScript when they click the Next button on a particular page, and then at the same time, advance to the next page.
    This is being launched from an LMS. The initial JS is going to set the score to 100%, which works fine. We typically have a "Close Course" button on the last slide to make sure it passes back a 100%, but many students are not clicking that button and the course simply returns a "passed" with a 0%.
    So making this JS call as part of the "Next" button should result in more 100% scores when they get to the end of the course, but I need it also to advance to the next slide.
    Thanks for any assistance!
    John

    Hi there
    Methinks you are overthinking this. Here's why.
    Note that any Button or Click Box obeject will release the pause when it has been clicked by the user unless you specifically configure it not to. If you assign some JavaScript to the Button object and the user clicks it, it does two things.
    Carries out the assigned action
    Releases the pause so the movie continues playing
    So I'm thinking in this case it's a simple matter of timing.
    Cheers... Rick
    Click here for Adobe Authorized Captivate and RoboHelp HTML Training
    Click here for the SorcerStone Blog
    Click here for RoboHelp and Captivate eBooks

Maybe you are looking for

  • "Still waiting for replays Issue In process chain please help me"

    Hi Xpertz Could any one clarify me in the following aspect .I have a process which is having 4 infopackages updating to a single ods and then in to a cube I copnverted it in to a process chain evry thing seems to be fine how ever one issue is ther .I

  • Retrieving iTunes library after hard drive dies.

    Here is my dilemma. My external hard drive that containes my entire itunes library of over 17,000 songs just died. First, what is the best way to reassign my iTunes library back to my computer instead of the now-dead external hard drive? I have an iP

  • Viewing clip in full screen mode

    I have not figured out how to view a clip that I have imported into FCE in the full screen format like you can do in imovie. Anyone have any suggestions? Thanks TimHA

  • I'm having trouble using winebottler to run Sew What Pro

    Does anyone have advice on using winebottler to run SewWhatPro?

  • How to call iOS 6 Maps from App

    Hi, i am searching around for an answer but could not find one. I want to call ne the Maps app from mit App to show me the possible routes to my target location. Before iOS 6 my call looks like this: http://maps.google.com/maps?saddr=37.785834,-122.4