How to stop printing the crystal report with an alert message

I am having a field called "APPROVAL" in my stored procedure with which I prepared the CR. I want that if the value in the filed is 'A' then only the crystal report should print else it should prompt with an alert message.

Hi Sreejith,
Check this helps you:
Create an alert from "Report  -> Alerts -> Create or Modify Alerts" with below steps:
1. Provide name of the alert (say Alert1)
2. Click on X+2 in front of "Message" field and write the Alert message you want to display.
3. Click on Condition button and write the condition If not({APPROVAL}='A') then true;
The above Alert will prompt with configured alert message when {APPROVAL} field is not having value of 'A'
Now, in a formula, write below content and display it where you want to display the APPROVAL field value:
If {APPROVAL} = 'A' then
          {APPROVAL}
This formula content will be blank if the value of {APPROVAL} is not 'A'
Thanks,
Raghavendra

Similar Messages

  • How to create user editable Crystal Report with dynamic dataset

    What I would like to achieve:
    A program loads a report in runtime updates list of database fields (possibly includes sample data), open report in "Crystal Reports 2011" (or 2008) where user customizes report and saves it. Later on the program loads the report, fills actualized data and displays it in .net report viewer.
    What I do:
    CrReport = New CrystalDecisions.CrystalReports.Engine.ReportDocument
    CrReport.Load(TemplateFilename)
    Dim Results As DataTable
    DataTable is filled from a database
    CrReport.SetDataSource(mResults)
    CrReport.SaveAs(NewReportPath, True)
    The NewReportPath is opened in the default program.
    What are the problems
    The report is open in preview mode (not in design).
    When the field is added to the report the designer asks for XML datasource on preview.

    The short answer is that it is not possible. I broke the question to other two: How to save a report that it opens without preview? and How to create user editable Crystal Report with dynamic dataset, where it is possible to find details. Key answer is Re: How to create an editable previewable report?

  • How can I print the "number lines" with the code in Visual Studio?

    How can I print the "number lines" with the code in Visual Studio?

    Hi BillionaireMan,
    What about your issue now?
    If you have resolved it, you can share the solution here, which will be beneficial for other members with the same issue.
    If you did not, please tell us more information,we will try my best to help you.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • How to connect to the Crystal Reports Server XI R2 installed in other machi

    Hi,
    we are 3 people here we have Crystal Reports Server XI R2 installed in one machine and Crystal Repoprts XI  DEsigner ( downloaded trial version) in all the machines ,
    in my machine only Crystal Repoprts XI  DEsigner ( downloaded trial version) is installed , how to connect to the Crystal Reports Server XI R2 which is installed in other machine
    Regards,
    kathyaini

    Hi,
    thankyou for your  response,
    my problem here is as soon as i open CR Designer , and if i  click on either New Report,Blank Report, or  standard report wizard  it is saying "failed to create database connection"
    on which ever thing i click it is telling the same "failed to create database connection" i created the user DSN properly , i could not create System DSN i dont know why.
    can u please guide me
    and one more thing on the machine where CR server is installed , on the same machine designer is also installed (i think u was telling the same) .  my question is how the server will know about the CR Designer installed in my machine.
    Regards,
    kathyaini

  • How do you set the Crystal Report Viewer Printer to Duplex

    Using the code below I can print in duplex mode, but this does not let me view a report before printing
    How do I set the Printer in the Viewer Control Bar of the Crystal Report Viewer to Duplex Printing programmatically rather than having to manually select Duplex through the preferences option?
    I have searched but the only example code I found produces errors in the code and will not run
    Private myReport As ReportDocument
    myReport = New ReportDocument()
    myReport.PrintOptions.PaperSize = PaperSize.PaperA4
    myReport.PrintOptions.PaperOrientation = PaperOrientation.Portrait
    myReport.PrintOptions.PrinterDuplex = PrinterDuplex. Vertical
    myReport.PrintToPrinter(3, False, 0, 0)
    In my VB6 Project that I am converting to VB.NET when I added Report.PrinterDuplex = crPRDPVertical, this allowed me to view the report and then print with Duplex without having to set the Print Preferences manualy
    I found 1386475 - How to set printer name and print job title at runtime using Report Application Server SDK for Visual Studio .NET
    But this causes errors
    Imports CrystalDecisions.ReportAppServer.ClientDoc
    Imports CrystalDecisions.ReportAppServer.Controllers
    Dim boReportClientDocument As ISCDReportClientDocument
    Dim boPrintOutputController As PrintOutputController
    Dim boPrintReportOptions As New PrintReportOptions
    Edited by: DavidMills on Feb 18, 2011 11:58 AM

    Hi David,
    You can mix both engines, just declare them both with different report object names. Here's all of my references:
    using System;
    using System.IO;
    using System.Xml;
    using System.Drawing;
    using System.Collections;
    using System.ComponentModel;
    using System.Windows.Forms;
    using System.Data;
    using CrystalDecisions.CrystalReports.Engine;
    using CrystalDecisions.Shared;
    using CrystalDecisions.ReportAppServer.ClientDoc;
    using CrystalDecisions.ReportAppServer.Controllers;
    using CrystalDecisions.ReportAppServer.ReportDefModel;
    using CrystalDecisions.ReportAppServer.CommonControls;
    using CrystalDecisions.ReportAppServer.CommLayer;
    using CrystalDecisions.ReportAppServer.CommonObjectModel;
    using CrystalDecisions.ReportAppServer.ObjectFactory;
    using System.Data.OleDb;
    using CrystalDecisions.ReportAppServer.DataSetConversion;
    using CrystalDecisions.ReportAppServer.DataDefModel;
    using CrystalDecisions.ReportSource;
    using CrystalDecisions.Windows.Forms;
    using System.Data.SqlClient;
    using System.Runtime.InteropServices;
        public class frmMain : System.Windows.Forms.Form
            CrystalDecisions.CrystalReports.Engine.ReportDocument rpt = new CrystalDecisions.CrystalReports.Engine.ReportDocument();
            CrystalDecisions.ReportAppServer.ClientDoc.ISCDReportClientDocument rptClientDoc;
    My file open dialog:
            private void btnOpenReport_Click(object sender, System.EventArgs e)
                rptClientDoc = new CrystalDecisions.ReportAppServer.ClientDoc.ReportClientDocument();
                openFileDialog.Filter = "Crystal Reports (*.rpt)|*.rpt|Crystal Reports Secure (*.rptr)|*.rptr";
                openFileDialog.FilterIndex = 1;
                 if (openFileDialog.ShowDialog() == DialogResult.OK)
                      btnOpenReport.Enabled = false;
                      btnSaveRptAs.Enabled = false;
                      object rptName = openFileDialog.FileName;
                    try
                        rpt.Load(rptName.ToString());
                        rptClientDoc = rpt.ReportClientDocument;
                    catch (Exception ex)
                        MessageBox.Show("ERROR: " + ex.Message);
                        return;
                    MessageBox.Show(rptClientDoc.MajorVersion.ToString() + "." + rptClientDoc.MinorVersion.ToString());
                        MessageBox.Show("Report opened.","RAS",MessageBoxButtons.OK,MessageBoxIcon.Information );
                        btnOpenReport.Enabled = true;
                        btnSaveRptAs.Enabled = true;
                    //MessageBox.Show(rpt.RecordSelectionFormula, "my record: ", MessageBoxButtons.OK, MessageBoxIcon.Information);
                    MessageBox.Show(rpt.ReportRequestStatus.NumberOfPages.ToString(), "Number of Pages: ", MessageBoxButtons.OK, MessageBoxIcon.Information);
    As for the page number I use it off the Engine report object:
    MessageBox.Show(rpt.ReportRequestStatus.NumberOfPages.ToString(), "Number of Pages: ", MessageBoxButtons.OK, MessageBoxIcon.Information);
    And it works for me...
    Thank you
    Don

  • How can I download the Crystal Report Viewer XI

    We need a way for users who recieve .rpt files as email attachements distributed from BOE XI R2 to be able to view the reports and use drill-down functionality without being able to edit the report.
    I found the Crystal Reports Viewer XI R2 release notes at help.sap.com but need to know from where to download so that we can install on users' machines.  The note references CRViewerXI.exe but I need to know where to get that file?

    Thanks...  I was able to download / install....
    As a seperate issue: we're getting an error when trying to open a report generated out of boe xi r2 sp4....the report does have "save data" with report....  I send to myself via email, save the rpt but when I try to open on a machine with viewer installed....it tries and gets to the end and presents an 'unexpected error' with detail:
    any suggestions?  I put in case# 1020775
    Product Info:
    Crystal Reports Viewer 2008
    com.businessobjects.crystalreports.viewer.shell.application
    JVM Info:
    1.6.0_02-b05
    Sun Microsystems Inc.
    Java HotSpot(TM) Client VM
    System Configuration:
    win32
    x86
    en_US
    Plug-ins:
    org.eclipse.osgi version: 3.4.0.v20080605-1900
    org.eclipse.equinox.common version: 3.4.0.v20080421-2006
    org.eclipse.update.configurator version: 3.2.200.v20080417
    org.eclipse.core.runtime version: 3.4.0.v20080512
    com.businessobjects.crystalreports.designer.BOEIntegration.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.BOEIntegration version: 12.2.0.r325
    com.businessobjects.crystalreports.boesdk.libs version: 12.0.0
    com.businessobjects.crystalreports.boesdk version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.core version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.CRDCIntegration version: 12.2.0.r325
    com.businessobjects.crystalreports.crdcsdk.libs version: 12.0.0
    com.businessobjects.crystalreports.crdcsdk version: 12.2.0.r325
    com.businessobjects.crystalreports.crsdk.libs version: 12.2.0.r325
    com.businessobjects.crystalreports.crsdk version: 12.2.0.r325
    com.businessobjects.GEFUtilities.cs version: 12.2.0.r325
    com.businessobjects.GEFUtilities.de version: 12.2.0.r325
    com.businessobjects.GEFUtilities.en version: 12.2.0.r325
    com.businessobjects.GEFUtilities.es version: 12.2.0.r325
    com.businessobjects.GEFUtilities.fr version: 12.2.0.r325
    com.businessobjects.GEFUtilities.hu version: 12.2.0.r325
    com.businessobjects.GEFUtilities.it version: 12.2.0.r325
    com.businessobjects.GEFUtilities.ja version: 12.2.0.r325
    com.businessobjects.GEFUtilities.ko version: 12.2.0.r325
    com.businessobjects.GEFUtilities.nl version: 12.2.0.r325
    com.businessobjects.GEFUtilities.pl version: 12.2.0.r325
    com.businessobjects.GEFUtilities.pt version: 12.2.0.r325
    com.businessobjects.GEFUtilities.ru version: 12.2.0.r325
    com.businessobjects.GEFUtilities.sv version: 12.2.0.r325
    com.businessobjects.GEFUtilities.zh version: 12.2.0.r325
    com.businessobjects.GEFUtilities.zh_HK version: 12.2.0.r325
    com.businessobjects.GEFUtilities.zh_MO version: 12.2.0.r325
    com.businessobjects.GEFUtilities.zh_MY version: 12.2.0.r325
    com.businessobjects.GEFUtilities.zh_TW version: 12.2.0.r325
    com.businessobjects.GEFUtilities version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.IntegrationBase version: 12.2.0.r325
    com.businessobjects.crystalreports.platformext.win32 version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.promptingui version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.cs version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.de version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.en version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.es version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.fr version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.hu version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.it version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.ja version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.ko version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.nl version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.pl version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.pt version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.ru version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.sv version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.zh version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.zh_HK version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.zh_MO version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.zh_MY version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities.zh_TW version: 12.2.0.r325
    com.businessobjects.RCPRuntimeUtilities version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.readingpage version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.reportviewlib version: 12.2.0.r325
    com.businessobjects.SWTUtilities.cs version: 12.2.0.r325
    com.businessobjects.SWTUtilities.de version: 12.2.0.r325
    com.businessobjects.SWTUtilities.en version: 12.2.0.r325
    com.businessobjects.SWTUtilities.es version: 12.2.0.r325
    com.businessobjects.SWTUtilities.fr version: 12.2.0.r325
    com.businessobjects.SWTUtilities.hu version: 12.2.0.r325
    com.businessobjects.SWTUtilities.it version: 12.2.0.r325
    com.businessobjects.SWTUtilities.ja version: 12.2.0.r325
    com.businessobjects.SWTUtilities.ko version: 12.2.0.r325
    com.businessobjects.SWTUtilities.nl version: 12.2.0.r325
    com.businessobjects.SWTUtilities.pl version: 12.2.0.r325
    com.businessobjects.SWTUtilities.pt version: 12.2.0.r325
    com.businessobjects.SWTUtilities.ru version: 12.2.0.r325
    com.businessobjects.SWTUtilities.sv version: 12.2.0.r325
    com.businessobjects.SWTUtilities.zh version: 12.2.0.r325
    com.businessobjects.SWTUtilities.zh_HK version: 12.2.0.r325
    com.businessobjects.SWTUtilities.zh_MO version: 12.2.0.r325
    com.businessobjects.SWTUtilities.zh_MY version: 12.2.0.r325
    com.businessobjects.SWTUtilities.zh_TW version: 12.2.0.r325
    com.businessobjects.SWTUtilities version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.de version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.en version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.es version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.it version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.designer.uibase version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.de version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.en version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.es version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.it version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.updateserviceplugin version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.cs version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.de version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.en version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.es version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.fr version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.hu version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.it version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.ja version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.ko version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.nl version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.pl version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.pt version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.ru version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.sv version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.zh version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.zh_HK version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.zh_MO version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.zh_MY version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell.zh_TW version: 12.2.0.r325
    com.businessobjects.crystalreports.viewershellext.win32 version: 12.2.0.r325
    com.businessobjects.crystalreports.viewer.shell version: 12.2.0.r325
    com.businessobjects.ui.controls.de version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.en version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.es version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.fr version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.it version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.ja version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.ko version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.nl version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.pl version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.pt version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.ru version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.sv version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.zh version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.zh_HK version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.zh_MO version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.zh_MY version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls.zh_TW version: 12.0.0.r325_v20080731
    com.businessobjects.ui.controls version: 12.0.0.r325_v20080731
    com.ibm.icu version: 3.8.1.v20080530
    org.eclipse.core.commands version: 3.4.0.I20080509-2000
    org.eclipse.core.contenttype version: 3.3.0.v20080604-1400
    org.eclipse.core.databinding version: 1.1.0.I20080527-2000
    org.eclipse.core.expressions version: 3.4.0.v20080603-2000
    org.eclipse.core.jobs version: 3.4.0.v20080512
    org.eclipse.core.runtime.compatibility.auth version: 3.2.100.v20070502
    org.eclipse.draw2d version: 3.4.0.v20080529
    org.eclipse.equinox.app version: 1.1.0.v20080421-2006
    org.eclipse.equinox.launcher.win32.win32.x86 version: 1.0.100.v20080509-1800
    org.eclipse.equinox.launcher version: 1.0.100.v20080509-1800
    org.eclipse.equinox.preferences version: 3.2.200.v20080421-2006
    org.eclipse.equinox.registry version: 3.4.0.v20080516-0950
    org.eclipse.gef version: 3.4.0.v20080526
    org.eclipse.help version: 3.3.100.v20080610
    org.eclipse.jface.databinding version: 1.2.0.I20080515-2000a
    org.eclipse.jface version: 3.4.0.I20080606-1300
    org.eclipse.rcp version: 3.4.0.v20080507
    org.eclipse.swt.win32.win32.x86 version: 3.4.0.v3448f
    org.eclipse.swt version: 3.4.0.v3448f
    org.eclipse.ui.views version: 3.3.0.I20080509-2000
    org.eclipse.ui.workbench version: 3.4.0.I20080606-1300
    org.eclipse.ui version: 3.4.0.I20080610-1200
    Libraries:
    C:\Program Files\Business Objects\Crystal Reports Viewer 2008\libs\CR\us.jar version: null
    Stack Trace:
    Caused by : java.lang.IndexOutOfBoundsException
    com.crystaldecisions.reports.formulas.FieldExpression$Type.a(Unknown Source)
    com.crystaldecisions.reports.formulas.ExpressionNode.getType(Unknown Source)
    com.crystaldecisions.reports.datafoundation.DFQuery.a(Unknown Source)
    com.crystaldecisions.reports.datafoundation.DFQuery.a(Unknown Source)
    com.crystaldecisions.reports.datafoundation.DFQuery.a(Unknown Source)
    com.crystaldecisions.reports.datafoundation.DFQuery.<init>(Unknown Source)
    com.crystaldecisions.reports.datafoundation.DFRuntime.if(Unknown Source)
    com.crystaldecisions.reports.datafoundation.DFRuntime.a(Unknown Source)
    com.crystaldecisions.reports.datalayer.a.if(Unknown Source)
    com.crystaldecisions.reports.datalayer.a.char(Unknown Source)
    com.crystaldecisions.reports.datalayer.a.long(Unknown Source)
    com.crystaldecisions.reports.datalayer.a.f(Unknown Source)
    com.crystaldecisions.reports.datalayer.a.c(Unknown Source)
    com.crystaldecisions.reports.datalayer.a.case(Unknown Source)
    com.crystaldecisions.reports.dataengine.m.char(Unknown Source)
    com.crystaldecisions.reports.dataengine.j.char(Unknown Source)
    com.crystaldecisions.reports.dataengine.m.j(Unknown Source)
    com.crystaldecisions.reports.dataengine.m.a(Unknown Source)
    com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
    com.crystaldecisions.reports.dataengine.ContextNode.a(Unknown Source)
    com.crystaldecisions.reports.dataengine.j.case(Unknown Source)
    com.crystaldecisions.reports.dataengine.h.<init>(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataContext.a(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataProcessor2.a(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataProcessor2.new(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataProcessor2.try(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataProcessor2.int(Unknown Source)
    com.crystaldecisions.reports.dataengine.DataProcessor2.I(Unknown Source)
    com.crystaldecisions.reports.formatter.formatter.objectformatter.ObjectFormatter.fl(Unknown Source)
    com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.if(Unknown Source)
    com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.a(Unknown Source)
    com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.Y(Unknown Source)
    com.crystaldecisions.reports.formatter.formatter.paginator.PageFormatter.moveToPageN(Unknown Source)
    com.crystaldecisions.reports.formatter.formatter.lightmodel.FCMPageFormatter.goToPage(Unknown Source)
    com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.B(Unknown Source)
    com.businessobjects.crystalreports.designer.core.elements.formatted.MultiPageModel.A(Unknown Source)
    com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedPages.create(Unknown Source)
    com.businessobjects.crystalreports.designer.core.elements.formatted.FormattedDocumentModeller.getValidFormattedPages(Unknown Source)
    com.businessobjects.crystalreports.designer.reportviewlib.FormattedModelHelper$1.A(Unknown Source)
    com.businessobjects.crystalreports.designer.reportviewlib.FormattedModelHelper$1.call(Unknown Source)
    com.businessobjects.crystalreports.designer.uibase.dialogs.ProgressMonitorDialog$6.run(Unknown Source)
    org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:121)

  • Unable to save the Crystal Report with Dynamic paramters in Enterprise

    Hello,
    We are not able to save our Crystal Report with dynamic parameters in Enterprise, Error message as follows :
    "Failed to read data from report file C:\DOCUME1\...\crw{...}.rpt. Reason : Failed to read parameter object"
    CR Developer Version 12.0.0.683
    help us in this regard..
    thanks,
    Narasimha Murty

    Hello,
    The error message occurs because the user or group who created the LOV does not have the appropriate rights in Business View Manager.
    Try this hope its helps
    To resolve this issue follow the steps,
    1.Log on to Business View Manager as administrator.
    2.Click View > Repository Explorer.
    3.Right-click Dynamic Cascading Prompts. Click Edit Rights.
    4.Click the appropriate user or group receiving the error.
    5.Click the Granted option for the right to View, Edit & Set Security rights.
    6.Click OK. Close Business View Manager.
    The user or group is now able to save a report with dynamic parameters to Enterprise.
    Regards,
    Vinay

  • How can I print the test page with the Arabic type from the command line

    Hi,
    I have been trying to make the tool for printing the test page from the command line on the Arabic OS. I used "rundll32 printui dll printuientry" with "/k /n" options. My tool is to print the test page in all OS when pushing the
    button.
    Normally, in the Arabic Windows, the test page is printed with RTL type when printing the test page in the "Devices and Printers". But in my tool, the test page is printed with LTR type. I'm confused because of this result.
    Is it possilbe to print the test page with RTL type when using the "rundll32 printui dll printuientry"? If it is possible, could anyone give me the hint or information for resolving?
    Please check for me.

    Hello,
    Thank you for your post.
    Your issue is out of support range of Test Tools in Visual Studio 2010 and 2012 forum which discusses Visual Studio Test issues.
    I am moving your question to the moderator forum ("Where is the forum for..?"). The owner of the forum will direct you to a right forum.
    Best regards,
    We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
    Click
    HERE to participate the survey.

  • Printing the crystal report from a wbe form

    Dear All,
    I am very new to crystal reports.
    In a web form I am having 3 report and by clicking on different options one will be visible at a time.
    Now when the user clicks on the "Print" option it has to print all the reports.
    For this I have used "PrintToPrinter" function but it is asking for the end page but I don't know how to get the last page number.

    Dear Adam,
    Thank you a lot.
    But how can we resolve the issue "Printing to client printer".
    If it is an intranet application then it will print to a network printer?
    I am expecting your valuable reply.
    Best Regards,
    M. J. Jaya Chitra

  • How to feed data into crystal reporte with "SQLQuery" method in c#?

    Hi there,
    I've an old app that was written in VB with some crystal reports from Crystal Report 7.
    Now I need to upgrade this old app into c# with newer version of Crystal Report, so we decide to go for VS2010.
    I can open the report template in the VS2010 without any problems.
    But I'm running into some issue here:
    the old report has multiple tables from a SQL db as the connection. Each table has a PK to each other.
    and the VB code feed the data like below:
    MainForm.CrystalReport(1).SQLQuery = SQLString
    I couldn't find any reference for "SQLQuery" method in the C#, is there such command exist?
    Thank you in advanced,

    Thank you Ludek. Looking into the info you provided.

  • How to delete all the crystal reports from SAP B1 ?

    Dear Experts,
    I have one problem and I need to Delete all the Crystal PLD's and Crystal Reports from SAP B1.
    I can delete a PLD or Report using delete option from Report and layout manager or layout designer.
    But I need to select delete option for each PLD and It makes very time.I have some 200 Reports and I need to delete fully.
    Is there any possible to multi delete option in SAP B1?
    I have searched many but i will not receive proper solution. Any one can explain how to do This?
    Thanks ,
    Karthikeyan.P
    MSBI Developer-Chennai

    Dear Karthikeyan,
    Manual deletion is actually the most safe way to delete them. If you try update B1 tables directly, you are against SAP support rule.
    Thanks,
    Gordon

  • I have itunes set up to sync with my Ipod Touch and my Ipad.  As of today, it keeps looking for an iPhone to sync with and give me an error message.  I don't have an iPhone and don't know how to stop it from popping open with this error message.

    I have Itunes set up to sync with my Ipod touch and Ipad.  As of today, iTunes has started searching to sync with an iPhone, which I don't have and pops open with an error message stating it cannot locate the iPhone to sync.  I have looked in devices and only the iPad and iPod Touch are listed.  Any ideas on how to stop iTunes from searching for any iPhone it is never going to find? It is annoying to have it popping up all the time with the error message.  Thanks in advance for any suggestions.

    You should really read the manual.
    "How do you restore from backup? "
    Restore.  When given the choice, choose to use backup.
    "And how can I check to see if the pics and videos are on my computer somewhere first??"
    They would only be where you put them.  What program did you use to import them?  Pics/vids taken with ipod are not part of the sync process at all.  You should be importing them just as you would with any digital camera.
    If you did not import them, then they are not on your computer.

  • Print a Crystal Report

    How do i print a crystal report using SAP B1 SDK's in Delphi?

    Senthil,
    I do not have the code with respect to how to integrate Crystal Reports using Delphi and the Business One SDK.  Possibly there may be other users on SDN that use Delphi and can assist.
    There is source code posted here for Crystal integration with SAP Business One written in .Net.  You could look at the source code and translate possible to Delphi ...
    http://www.sdn.sap.com/irj/scn/downloads?rid=/library/uuid/d0a0c14b-0e20-2b10-939b-e93a19f14c12
    HTH,
    Eddy

  • Failed to Load database information - Crystal report with XML as datasource

    Hello Friends:
    I am getting the attached error when i try to load the Crystal Report with XML as data source.
    I have designed the crystal report with the sample XML provided with XSD schema (PFA I have attached the XML and XSD). It is working as expected on design time. But it is failing when I load it from C# code.
    Note: I have referred the following DLLs of version 13.0.2000.0 in my sample application.
    CrystalDecisions.CrystalReports.Design.dll
    CrystalDecisions.CrystalReports.Engine.dll
    Please let me know what should be done in order to resolve this.
    Thank you!

    All I know is that you are using 'SAP Crystal Reports, Developer Version for Visual Studio .NET". No idea what service pack or what version of .NET...
    So. make sure you are on SP 9:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    Search for KBA 1525432 (search box is in top right corner) and follow the instructions there.
    Remove your reference to CrystalDecisions.CrystalReports.Design.dll
    Add the following references:
    CrystalDecisions.Shared
    CrystalDecisions.ReportSource
    CrystalDecisions.Web (if web app)
    CrystalDecisions.Windows (if win app)
    I'd also recommend commenting out the export code for now; one step at a time. Get it to work in the viewer, then move on... No Big Bangs
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • How to create a report with data using the Crystal Reports for Java SDK

    Hi,
    How do I create a report with data that can be displayed via the Crystal Report for Java SDK and the Viewers API?
    I am writing my own report designer, and would like to use the Crystal Runtime Engine to display my report in DHTML, PDF, and Excel formats.  I can create my own report through the following code snippet:
    ReportClientDocument boReportClientDocument = new ReportClientDocument();
    boReportClientDocument.newDocument();
    However, I cannot find a way to add data elements to the report without specifying an RPT file.  Is this possible?  I seems like it is since the Eclipse Plug In allows you to specify your database parameters when creating an RPT file.
    is there a way to do this through these packages?
    com.crystaldecisions.sdk.occa.report.data
    com.crystaldecisions.sdk.occa.report.definition
    Am I forced to create a RPT file for the different table and column structures I have? 
    Thank you in advance for any insights.
    Ted Jenney

    Hi Rameez,
    After working through the example code some more, and doing some more research, I remain unable to populate a report with my own data and view the report in a browser.  I realize this is a long post, but there are multiple errors I am receiving, and these are the seemingly essential ones that I am hitting.
    Modeling the Sample code from Create_Report_From_Scratch.zip to add a database table, using the following code:
    <%@ page import="com.crystaldecisions.sdk.occa.report.application.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.document.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.definition.*"%>
    <%@ page import="com.crystaldecisions.sdk.occa.report.lib.*" %>
    <%@ page import = "com.crystaldecisions.report.web.viewer.*"%>
    <%
    try { 
                ReportClientDocument rcd = new ReportClientDocument();
                rcd.newDocument();
    // Setup the DB connection
                String database_dll = "Sqlsrv32.dll";
                String db = "qa_start_2012";
                String dsn = "SQL Server";
                String userName = "sa";
                String pwd = "sa";
                // Create the DB connection
                ConnectionInfo oConnectionInfo = new ConnectionInfo();
                PropertyBag oPropertyBag1 = oConnectionInfo.getAttributes();
                // Set new table logon properties
                PropertyBag oPropertyBag2 = new PropertyBag();
                oPropertyBag2.put("DSN", dsn);
                oPropertyBag2.put("Data Source", db);
                // Set the connection info objects members
                // 1. Pass the Logon Properties to the main PropertyBag
                // 2. Set the Server Description to the new **System DSN**
                oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_LOGONPROPERTIES, oPropertyBag2);
                oPropertyBag1.put(PropertyBagHelper.CONNINFO_CRQE_SERVERDESCRIPTION, dsn);
                oPropertyBag1.put("Database DLL", database_dll);
                oConnectionInfo.setAttributes(oPropertyBag1);
                oConnectionInfo.setUserName(userName);
                oConnectionInfo.setPassword(pwd);
                // The Kind of connectionInfos is CRQE (Crystal Reports Query Engine).
                oConnectionInfo.setKind(ConnectionInfoKind.CRQE);
    // Add a Database table
              String tableName = "Building";
                Table oTable = new Table();
                oTable.setName(tableName);
                oTable.setConnectionInfo(oConnectionInfo);
                rcd.getDatabaseController().addTable(oTable, null);
        catch(ReportSDKException RsdkEx) {
                out.println(RsdkEx);  
        catch (Exception ex) {
              out.println(ex);  
    %>
    Throws the exception
    com.crystaldecisions.sdk.occa.report.lib.ReportSDKException: java.lang.NullPointerException---- Error code:-2147467259 Error code name:failed
    There was other sample code on SDN which suggested the following - adding the table after calling table.setDataFields() as in:
              String tableName = "Building";
                String fieldname = "Building_Name";
                Table oTable = new Table();
                oTable.setName(tableName);
                oTable.setAlias(tableName);
                oTable.setQualifiedName(tableName);
                oTable.setDescription(tableName) ;
                Fields fields = new Fields();
                DBField field = new DBField();
                field.setDescription(fieldname);
                field.setHeadingText(fieldname);
                field.setName(fieldname);
                field.setType(FieldValueType.stringField);
                field.setLength(40);
                fields.add(field);
                oTable.setDataFields(fields);
                oTable.setConnectionInfo(oConnectionInfo);
                rcd.getDatabaseController().addTable(oTable, null);
    This code succeeds, but it is not clear how to add that database field to a section.  If I attempt to call the following:
    FieldObject oFieldObject = new FieldObject();
                oFieldObject.setDataSourceName(field.getFormulaForm());
                oFieldObject.setFieldValueType(field.getType());
                // Now add it to the section
                oFieldObject.setLeft(3120);
                oFieldObject.setTop(120);
                oFieldObject.setWidth(1911);
                oFieldObject.setHeight(226);
                rcd.getReportDefController().getReportObjectController().add(oFieldObject, rcd.getReportDefController().getReportDefinition().getDetailArea().getSections().getSection(0), -1);
    Then I get an error (which is not unexpected)
    com.crystaldecisions.sdk.occa.report.lib.ReportDefControllerException: The field was not found.---- Error code:-2147213283 Error code name:invalidFieldObject
    How do I add one of the table.SetDataFields()  to my report to be displayed?
    Are there any other pointers or suggestions you may have?
    Thank you

Maybe you are looking for

  • API5036: Client version 10.2.0.1.31 is not compatible with repository ver..

    API5036: Client version 10.2.0.1.31 is not compatible with repository version 10.2.0.2.0 I got this error after upgraded with patch p5696353_10202_AIX64-5L I tried to log in but there was a pop up dialog told me about this error. Do I have to install

  • Is it possible to mail merge images?

    Can you mail merge images from a Numbers spreadsheet into Pages instead of selecting an image from the media inspector?

  • Muse CC has stopped publishing my header images?

    I can't figureout how this has happened, all of a sudden when I try and publish my site to BC it is going up without and header banner image. The image is in the main master page and works fine if I ftp it up with filezilla. I tried uninstalling Muse

  • ADDITION OF 2 ,1-D ARRAY'S ..... Please

    Hi form String[ ] a = {"a","b","c"}; String[ ] b = {"d","e","f"}; Please Can Somebody tell me How to Add the Elements of the 2nd Array to First, So the O/P Prints as String [ ] a = {"a","b","c","d","e","f"}; Thx in advance

  • SAP BI tables

    Hi, table to view the queries devoleped on specific Infoprovider? table to view the process start time and end time of the specific process chain? and the list of important tables in BI ? Thanks, Harish Please search before posting a thread Edited by