Has any body work with Crystal Report XI and JDeveloper 10.1.3 ?

Hi All,
We want to use Crystal Report XI as our reporting tools and integrate it with our jsp/jspx application developed with JDeveloper 10.1.3.
Has any body succesfully done this kind of integration ?
Could you please share it with me ?
Thank you for your info,
xtanto

Hi friends,
I use Crystal Reoprt XI (release 1) with JDev 10.1.3, never try Crystal 10 with JDev.
Here is what I do :
1. Install CR XI on the same machine with JDev 10.1.3.
2. Modify CRConfig.XML on folder : C:\Program Files\Common Files\Business Objects\3.0\java on three places :
<JavaDir>D:\JDev1013\jdk\bin</JavaDir>
<Classpath>D:\JDev1013\jdbc\lib\ocrs12.jar;D:\JDev1013\jdbc\lib\ojdbc14.jar;D:\JDev1013\jdbc\lib\ojdbc14dms.jar;D:\JDev1013\jdbc\lib\orai18n.jar; .... [original classpath]
<JDBCURL>jdbc:oracle:thin:@oracle.sas.co.id:1521:ORCL</JDBCURL>
<JDBCClassName>oracle.jdbc.driver.OracleDriver</JDBCClassName>
<JDBCUserName>myuserid</JDBCUserName>     <JNDIURL></JNDIURL>
3. Create the report using Crystal XI, USE JDBC CONNECTION, and it takes about 12-20 minutes to connect, don'y know why :)
( now the integration part )
4. Create a project for the report in our apps workspace (e.d : ViewController)
5. Copy these jar files below to D:\..\ViewController\public_html\WEB-INF\lib
(I got the files from Crystal Installation)
04/03/2006 09:27 AM 666,774 CrystalCharting.jar
03/26/2006 12:23 AM 2,163 CrystalCommon.jar
04/03/2006 09:27 AM 94,137 CrystalContentModels.jar
04/03/2006 09:30 AM 519,003 CrystalExporters.jar
04/03/2006 09:27 AM 60,468 CrystalExportingBase.jar
04/03/2006 09:26 AM 561,021 CrystalFormulas.jar
04/03/2006 09:26 AM 390,049 CrystalQueryEngine.jar
04/03/2006 09:28 AM 1,934,849 CrystalReportEngine.jar
04/03/2006 09:25 AM 413,455 CrystalReportingCommon.jar
09/08/2003 02:42 PM 3,915,966 icu4j.jar
04/03/2006 09:29 AM 135,232 jrcerom.jar
02/10/2006 10:39 AM 698,542 jsf-impl.jar
03/26/2006 12:23 AM 8,680 keycodeDecoder.jar
05/11/2004 07:22 PM 352,668 log4j.jar
03/26/2006 08:33 AM 474,429 MetafileRenderer.jar
04/03/2006 08:47 AM 369,503 rasapp.jar
04/03/2006 08:46 AM 784,065 rascore.jar
03/16/2006 09:35 AM 699,443 ReportViewer.jar
04/03/2006 09:25 AM 95,381 rpoifs.jar
04/03/2006 08:46 AM 21,128 serialization.jar
06/17/2006 01:41 PM 393,259 standard.jar
10/02/2003 06:29 PM 3,777 URIUtil.jar
02/28/2006 10:01 AM 48,279 webreporting-jsf.jar
03/07/2006 08:50 AM 778,348 webreporting.jar
02/20/2004 02:01 PM 1,010,806 xercesImpl.jar
02/20/2004 02:01 PM 124,724 xml-apis.jar
6. Right click the project, project properties, Libraries, Add Jar / Directories,
Add all the jar files from previous step.
7. Copy CRConfig.XML to folder D:\..\ViewController (project folder)
( this CRConfig.XML is the one that I have not modified, the original one. )
Please check, you must have this on the file :
<reportlocation>.</reportlocation>
8. Then create a Folder e.g : reports under WEB-INF :
D:\..\ViewController\public_html\WEB-INF\reports, then copy all reports created on step 3 on to this folder.
9. create a jsp to call the report, here is sample of my JSP :
<%@ page
contentType="text/html;charset=windows-1252"
isELIgnored="true" %>
<%@page import="com.crystaldecisions.reports.sdk.*"%>
<%@page import="com.crystaldecisions.sdk.occa.report.lib.*"%>
<%@page import="com.crystaldecisions.sdk.occa.report.exportoptions.*"%>
<%@page import="com.crystaldecisions.report.web.viewer.*"%>
<%@page import="com.crystaldecisions.sdk.occa.report.reportsource.*" %>
<%@page import="com.crystaldecisions.sdk.occa.report.data.*" %>
<%@page import = "java.util.*" %>
<%@page import = "view.util.JSFUtils" %>
<%@page import = "oracle.jbo.domain.Number" %>
<%
//Use the relative path to the report; the physical or full qualified URL cannot be used.
//String reportName = "D:/DemoCrystal/Project/public_html/WEB-INF/Report/OrderID2.rpt";
//String reportName = "D:/DemoCrystal/Project/public_html/WEB-INF/Report/test2.rpt";
//String reportName = "D:/DemoCrystal/Project/public_html/WEB-INF/Report/invoice.rpt";
String reportName = "../reports/invoice.rpt";
String userName = "myuserid";
String password = "mypassword";
String compId = (String)JSFUtils.getFromSession("compId");
String docId = (String)JSFUtils.getFromSession("docId");
Number noDokumen = (Number)JSFUtils.getFromSession("noDokumen");
String status = (String)JSFUtils.getFromSession("status");
System.out.println("from rptInvoice.jsp " compIddocId + " " + noDokumen.toString()+status);
try
//Open report.
ReportClientDocument reportClientDoc = new ReportClientDocument();
reportClientDoc.open(reportName, 0);
     session.setAttribute("reportSource", reportClientDoc.getReportSource());
// Conn info
ConnectionInfos oConnectionInfos = new ConnectionInfos();
ConnectionInfo oConnectionInfo = new ConnectionInfo();
oConnectionInfo.setUserName(userName); //Set username and password for the report's database
oConnectionInfo.setPassword(password);
oConnectionInfos.add(oConnectionInfo); //Add object to collection
//Create a Fields collection object to store the parameter fields in.
Fields oFields = new Fields();
// THE PARAMETERs.
//Integer numberValue = new Integer(2166);
//String stringValue = "IV";
//Set all of the parameter values using the utility function.
setDiscreteParameterValue(oFields, "Nomor_Invoice", "", new Integer(noDokumen.intValue()));
setDiscreteParameterValue(oFields, "Kode_Invoice", "", docId);
setDiscreteParameterValue(oFields, "Compid", "", compId);
setDiscreteParameterValue(oFields, "Status", "", status);
//System.out.println("from view-controller report jsp v2.2");
//Set the export options to export to the format of choice.
ExportOptions oExportOptions = new ExportOptions();
oExportOptions.setExportFormatType(ReportExportFormat.PDF);
ReportExportControl oReportExportControl = new ReportExportControl();
oReportExportControl.setExportOptions(oExportOptions);
oReportExportControl.setExportAsAttachment(false);
Object reportSource = session.getAttribute("reportSource");
oReportExportControl.setReportSource(reportSource);
oReportExportControl.setDatabaseLogonInfos(oConnectionInfos);
     oReportExportControl.setParameterFields(oFields);
//Export the report
oReportExportControl.processHttpRequest(
request, response, getServletConfig().getServletContext(), null);
catch(ReportSDKException e)
out.print(e);
%>
<%!
* Utility function to set values for the discrete parameters in the report. The report parameter value is set
* and added to the Fields collection, which can then be passed to the viewer so that the user is not prompted
* for parameter values.
private void setDiscreteParameterValue(Fields oFields, String paramName, String reportName, Object value) {     
//Create a ParameterField object for each field that you wish to set.
ParameterField oParameterField = new ParameterField();
//You must set the report name.
//Set the report name to an empty string if your report does not contain a
//subreport; otherwise, the report name will be the name of the subreport
oParameterField.setReportName(reportName);
//Create a Values object and a ParameterFieldDiscreteValue object for each
//object for each parameter field you wish to set.
//If a ranged value is being set, a ParameterFieldRangeValue object should
//be used instead of the discrete value object.
Values oValues = new Values();
ParameterFieldDiscreteValue oParameterFieldDiscreteValue = new ParameterFieldDiscreteValue();
//Set the name of the parameter. This must match the name of the parameter as defined in the
//report.
oParameterField.setName(paramName);
oParameterFieldDiscreteValue.setValue(value);
//Add the parameter field values to the Values collection object.
oValues.add(oParameterFieldDiscreteValue);
//Set the current Values collection for each parameter field.
oParameterField.setCurrentValues(oValues);
//Add parameter field to the Fields collection. This object is then passed to the
//viewer as the collection of parameter fields values set.
oFields.add(oParameterField);
%>
10. have a try and HTH :)
xtanto.

Similar Messages

  • How to work with crystal reports and boe3.1

    Hello!!! Forums,
             Please suggest me some tutorials and sample code to work with crystal reports that can be viewed in boe3.1. What software to use to deveelop reports? How to view it in boe3.1?
    Regards,
    grace

    At the top of the forums you will see posts that say read this first, read those first.
    [BOE Enterprise|Read Before Posting - Where to find Business Objects .NET SDK Resources;
    [Crystal Reports .NET|Read Before Posting - Where to find Crystal Reports .NET SDK resources;
    Jason

  • Can JDeveloper work with Crystal Report?

    I try to open Crystal Report with Jdeveloper, but I could not. Do anyone know if JDeveloper worked with Crystal Report. If anyone knows how, please show me. Thank you in advance.

    For example, I have a report name "report1.rpt" which was saved under "C:\oracle\Jdev9052\jdev\mywork\HR\HR\public_html". Beside that I also have all the required jar files and folder crystalreportviewer added to my project. But everytime I run it, I received "The page cannot be displayed". Please help me to point out the problem. Thanks.
    <%@ page import= "com.crystaldecisions.report.web.viewer.*,
    com.crystaldecisions.sdk.occa.report.data.*" %>
    <%@ page import="com.crystaldecisions.reports.reportengineinterface.JPEReportSourceFactory,
    com.crystaldecisions.sdk.occa.report.reportsource.IReportSourceFactory2,
    com.crystaldecisions.sdk.occa.report.reportsource.IReportSource" %>
    <%
    // This is the database logon section of this report
    IReportSourceFactory2 rptSrcFactory = new JPEReportSourceFactory();
    String report = "report1.rpt";
    IReportSource reportSource = (IReportSource) rptSrcFactory.createReportSource(report, request.getLocale());
    CrystalReportViewer viewer = new CrystalReportViewer();
    viewer.setName("Test Report");
    viewer.setReportSource(reportSource);
    // now provide the viewer with the connection information
    response.getOutputStream().flush();
    viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
    viewer.dispose();
    %>
    -- A part of the config.xml file
    <?xml version="1.0" encoding="utf-8"?><CrystalReportEngine-configuration>
    <!--<reportlocation>../..</reportlocation>-->
    <timeout>10</timeout>
    <ExternalFunctionLibraryClassNames>
              <classname></classname>
              <classname></classname>
    </ExternalFunctionLibraryClassNames>

  • Has any one worked with PooledPreparedStatement in apache dbcp package ?

    Has any one worked with PooledPreparedStatement in apache dbcp package ?
    Is there a sample ? Can you share the code
    Raees

    Hi Rahul,
    I am not an expert in this matter, but i think i can share some info.
    SAP Fiori uses a very different development approach using SAPUI5 (HTML5/Javascript/CSS etc).
    I really don't know if there is a way to migrate WDA with your intent, it seems more like a redesign of your applications using the SAPUI5 resources, which can result in a reasonable amount of effort, depending on your WD applications quantity, complexity, size and other several factors.
    It has to be sized very carefully, and the new designs must be based on a solid software modelling that suits and leverages the advantages of the SAPUI5 framework. 
    There is much content to venture into, you can search for SAPUI5 tutorials/info, or add it with Fiori.
    Here is an example of interesting content from last year:
    What SAPUI5 and Fiori tells us about the future of UI development skills
    Hope it helps you, i am also studying these topics, please feel free to correct my mistakes.
    Regards,
    Renan

  • Query Engine report error with Crystal Report 9 And MS SQL SErver 2000

    Hi,
    Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
    "Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
    Can any One check any pblm with this query
    ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14  
    BEGIN
    IF ISNULL(@intSchemeID,0) <> 0  
    BEGIN
    Select* From table
    END 
    ELSE IF ISNULL(@intSchemeID,0) = 0  
    BEGIN
    Select 
    END 
    END
    When I comment the above codes , report works fine....
    Can any one help me....plz....I m in such a critical situation...

    Hi,
    Currently I m doing a report with Crystal Report 9 and MS SQL as back End.I used a stored procedure to fetch data from DB.The Stored procedure works properly with query analyzer . But when I take report through application
    "Table Not Found" Error is coming.Later I Found that In stored procedure for certain conditions only this error comes.But I cant resolve it.
    Can any One check any pblm with this query
    ELSE IF ISNULL(@intSourceID,0) = 10 Or ISNULL(@intSourceID,0) = 11 Or ISNULL(@intSourceID,0) = 12 Or ISNULL(@intSourceID,0) = 13 Or ISNULL(@intSourceID,0) = 14  
    BEGIN
    IF ISNULL(@intSchemeID,0) <> 0  
    BEGIN
    Select* From table
    END 
    ELSE IF ISNULL(@intSchemeID,0) = 0  
    BEGIN
    Select 
    END 
    END
    When I comment the above codes , report works fine....
    Can any one help me....plz....I m in such a critical situation...
    Refer the above statement highlighted in BOLD. That statement is WRONG. Select what ???? Try any one of the below statement,
    select ''
    --or
    select 0
    --or
    select null
    Regards, RSingh

  • Problem with Crystal Report XI and Regional Settings

    Dear All,
    I am working on Crystal Report XI under Chinese Windows 2000 Professional and Chinese Visual Foxpro 9.0.
    I created a User defined Function Library under VFP9.0 as an ActiveX with a function that return a String. I could saw the function in CR XI and the function works fine when returning English. When the function returning a Chinese String, CR XI gives different result. The Chinese text returned from the function only works when my regional settings (control panel -> regional settings) is set to Chinese Taiwan otherwise it shows "??????".
    It is queer, the text object always correct, shows Chinese text, no matter what regional settings is. I did try my best in VFP to convert the string to double byte, unicode, etc but it stilll doesn't work.
    Could anyone help me please. Thank you.
    Regards,
    Antony

    If you have the correct font, it will actually say "MS Arial Unicode" in any of the font drop downs - CR Designer, MS Word or any other software. So, you'll have to ensure that the font is installed.
    Ludek

  • Oracle8i with Crystal Report 8 and ASP

    Hai there
    am new to Oracle8i.
    am using Crystal Report 8 and 8.5, Windows NT, IIS, Oracle8i.
    i created a simple query report in Crystal report 8 and coded a
    asp todisplay at client browser but i cant view the report.
    the CRviewer controle is displayed but no report
    error:
    Server has not yet been opened.
    please help me
    thanking you
    raj

    CR was released well before .NET framework 3.5. Mo test would have been done. Only option is to not install 3.5 or upgrade to CR 2008 which supports 3.5 framework. Also will require you to update your app to ASP.NET.

  • Does CR 2008 work with Crystal Reports Server 11.5

    I currently have CRS 11.5 and am using CRXI. I would like to upgrade CRXI to CR2008 (visual advantage), but not upgrade CRS at this time. Does CR2008 work with CRS11.5? Any known issues to be aware of?
    Thanks,
    Jsr

    Unfortunately, CR 2008 is compatible with CR Server 2008 only You could refer to the [CR Server 2008 Supported Platforms|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/90e0d1a4-ae34-2b10-198c-f309bfa21e91]
    Kindly refer to the [Crystal Reports Server XI Release 2 Info|https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/20d9fe63-396c-2b10-e7a8-efddd1a910f6]
    Hope it helps !!

  • How can I get Visual Studio 2010 to work with Crystal Reports?

    Hi,
    My office upgraded to Windows 7 and Visual Studio 2010 and now I can no longer write front end programs to Crystal Reports version 10.   Does anybody know if there is a a workaround?   Also, our version of Crystal Reports is 32 bit but the new desktop machine I have is 64 bit so there may be issues accessing the Crystal Reports DLLs which are now located in the Programs (x86) folder.
    It's all such a gigantic mess that I don't even know where to begin.   Visual Studio 2008 had Crystal Reports in it so it was real easy.
    Dave

    Try searching first before posting. CR for Visual Studio 2010 download is available on the OverView tab. It's a free install, we don't ship in VS now, it's still a plug in so you can't use VS 2010 Express version, MS doesn't support plugins in Express versions.
    Runtime files will be version 13 and should update your app without issues.
    Install VS 2010/2012/2013 first and then run the first link in the download page. Don't instlal just the runtime redist MSI, it will not integrate into VS.
    Also, set your Project for x86 and not any CPU and use the full .NET Framework and not the client version.
    Don

  • ODBC Connectivity with Crystal Reports 2009 and MySQL

    Hi,
    I'm hoping someone can help me. We are currently running Crystal Reports CR Developer version 9.2.2.693 with an ODBC connection (ODBC 3.51 driver) to a My SQL database, version 4.0.18.*
    We want to upgrade to Crystal Reports 2008, CR Developer version 12.0.0.683, however when I try to run reports to the current database, I get the following error:
    *Database Connector Error: 2300:[MySQL][ODBC 3.51 Driver][mysqld-4.0.18-nt]You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near  .client where 0=1  at line 1 [Database Vendor Code: 1064] *
    Has anyone encoutered this before? Do I need to get a different rev. ODBC driver? Thanks in advance for your help.

    Thanks for your suggestion, but since the same query works when I use Crytal Reports 9 to the same MySQL database, I don't think that's the issue. I wonder if it has to do with the driver.

  • Problem with Crystal Report Viewer and Dual Monitors

    Post Author: jtgoff
    CA Forum: .NET
    Hey Guys,
    I'm running into another problem with the Crystal Report Viewer. Here's a little info before I get started, I'm developing a Windows App using WinForms in VS2005 and Crystal 11 Release 2. I'm referencing all the latest Crystal dlls from Service Pack 2 of Crystal 11 Release 2. The problem occurs when I drag my Windows Form that contains a Crystal Report Viewer onto my second monitor and try to scroll or resize it, when I try this the Report Document within the Viewer becomes glitchy, blocky, and un-readable. I drag it back onto my main monitor and perform the same actions and the Report appears perfectly fine. I notice this occurs after a number of Report Previews through my App. Initially when I start my App, I can drag the reports onto my second monitor and resize it and scroll through it no problem. However, after a number of Previews, I notice the problem occurs on my second monitor. This is a very strange bug that doesn't produce an error and appears to happen randomly. I was wondering if anyone has come across this problem, if so... Is there a solution for this?
    Thanks in advance!

    You can update the parameters using Crystal Viewer 2008. I had the same problem with the "CHANGE" button being grayed out.
    Go to your Report -> Select Expert -> and now you have three choices: Record, Group, Saved Data. Put your select statement using your parameters in the Saved Data only (remove it from Record if already there).
    It works awesome and even works on dynamic parameters!

  • Anyone suggests a barcode font paid/free that really works with Crystal Report?

    Hi fellow B1 Users,
    I am having difficulty producing a print of crystal label report that produces barcodes which can be scanned.
    It seems like I have not been lucky getting barcode fonts and its dimensions (size with height and width) right so it can be scanned by simple
    barcode scanners.
    Anyone got their crystal label to be scan-able?
    Please suggest.
    Thank you,
    Syed

    Hi Gordon,
    Good to see you still active in SAP B1 forums.
    I tried fonts such as CCode39.
    However, I got lucky this time, the font IDAutomationHC39M worked for me, size 18.
    Did not have to do much setting on barcode scanner though I have done it before
    Thank you.

  • Has any one work with more than 9 clips to make a multiclip

    Hello
    Im working on a one live man show that had four cameras running time of day time code.
    The cameras all ran at the same speed and had gotten the tc correct.
    Because of the tape reloads due to length of show and a few camera stop and starts I loaded into final cut about 4 clips for each camera.
    Each clip is between 5 to 20 min.
    With four cameras running Ive ended up with 13 clips total.
    I assigned each camera its own angle
    I would like to see each camera as its own angle and end up with only four clips in my multiclip, instead of getting 13 different clips.
    Also is their a way to simply toggle thru each multiclip both in viewer and canvas by just using the up or down arrows, instead of the key pad for each camera.
    For now my work around is to make several multiclips by breaking the show into several parts.
    Thanks for you interest
    Mark L Levine
    PowerPC G5   Mac OS X (10.4.5)  

    Wow, you guys perceived and answered an entirely different question than I did. I do not see the problem here at all, it's just like creating three nests; three four-camera multiclips that butt up against each other. (There is one extra angle, number 13, dunno how it fits in but it's obviously one extra short clip for one of the cameras.) This all depends on the statement "The cameras all ran at the same speed and had gotten the tc correct."
    Capture the four camera into three clips each with a little bit of overlap. Create the multiclips using timecode, drop them into the timeline and line them up with timecode, and cut till you're blue in the face or happy with the results.
    While it's possible to create and assign shortcuts to all of the keys, the prebuilt layout for multiclip is very cool and it's all set to go.
    Hello Im working on a one live man show that had four cameras running time of day time code.
    The cameras all ran at the same speed and had gotten the tc correct. Because of the tape reloads due to length of show and a few camera stop and starts I loaded into final cut about 4 clips for each camera.
    Each clip is between 5 to 20 min.
    With four cameras running Ive ended up with 13 clips total. I assigned each camera its own angle I would like to see each camera as its own angle and end up with only four clips in my multiclip, instead of getting 13 different clips. Also is their a way to simply toggle thru each multiclip both in viewer and canvas by just using the up or down arrows, instead of the key pad for each camera. For now my work around is to make several multiclips by breaking the show into several parts.
    <

  • VB2005 with Crystal Report XI and MS Access - Database Connector Error:

    Post Author: jvaldeziii
    CA Forum: .NET
    "Database Connector Error:"
    does anybody there whose got an idea with this problem?
    Im using VB2005 and im trying to show a report using CR XI with a Ms Access database...
    Whenever i used a CRAXDRT.Report.SQLQueryString? my application has an error "Database Connector Error"
    but whenever i omit this single line of code CRAXDRT.Report.SQLQueryString?
    crxReport.SQLQueryString = "Select * from tblPersonal where EMP_ID like '0%'"
    Or either i replace it with a CRAXDRT.Report.RecordSelectionFormula?
    crxReport.RecordSelectionFormula = "{tblPersonal.IDNo} like '*'"
    it works fine and it show the report and data...
    But?? i have to use more flexible filter condition like "SQLQueryString" like using LEFT OUTER JOIN or even just a simple query string in sql query...
    but using "SQLQueryString" gives me a head ache to figure it myself... I got this frustrating error in my application... "Database connector error"
    thats why i need help... please anybody has a good idea to resolve this problem "Database connector error" please refer to my code if there's something missing or lacking in my code...
    Here's my sample code:
    Private Sub frmCrystalReport_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
    Try
    ChildFormAutoSizeFit(Me)
    Me.Cursor = Cursors.WaitCursor
    Me.MdiParent = frmMain
    crxApp = New CRAXDRT.Application
    crxReport = crxApp.OpenReport(reportPath & "\EmployeeRecord.rpt", CrystalDecisions.Shared.OpenReportMethod.OpenReportByDefault)
    crxDataBase = crxReport.Database
    crxTables = crxDataBase.Tables
    For Each crxTable In crxTables
    crxTable.Location = DataSource
    crxTable.SetLogOnInfo("Provider=Microsoft.Jet.OLEDB.4.0;Data source=" & reportPath, "myEmpDB.mdb", "UserName", "myPassword")
    Next crxTable
    'Note1: this line crxReport.SQLQueryString gives me the headache "Database Connector Error"
    crxReport.SQLQueryString = "Select * from tblPersonal"
    'Note2: this line crxReport.RecordSelectionFormula works fine
    'crxReport.RecordSelectionFormula = "{tblPersonal.IDNo} like '*'"
    AxCRViewer1.ReportSource = crxReport
    AxCRViewer1.ViewReport()
    crxDataBase = Nothing
    crxTable = Nothing
    crxTables = Nothing
    crxReport = Nothing
    crxApp = Nothing
    Catch ex As Exception
    MsgBox(ex.ToString())
    Finally
    Me.Cursor = Cursors.Default
    End Try
    End Sub
    Please anybody there who can resolve this problem or even just a good idea to share?? Please...
    A lot of appreciation to someone or anybody who can help with this... thanks in advance....

    Post Author: Argan
    CA Forum: .NET
    You may want to move/ask this question in the "Other" sdk forum since this is not the CR.NET SDK, but actually RDC/COM SDK.
    You are using the RDC in .NET, which is unsupported/untested so there is no way to know if it is a .NET specific issue or an issue with the RDC.
    One of the COM folks may be of more help in that forum.
    Good luck with your project.

  • Detail sections not displayed with Crystal Reports 2010 Runtime (SP1 also)

    I have migrated a VB app from RDC 9 to Crystal Reports 2010 and I'm experiencing a very strange issue.
    In a report with 6 nested groups, the detail part is splitted in 7 section, and the whole detail has the "keep together" flag activated. At runtime, some detail sections are not displayed. There is no suppress condition on the detail section. The missed sections are those near bottom of the page. I suppose that when there is no room to print the section on the page and it should go on the next page, Crystal forget to display it.
    I exported the report in Crystal format and reopened with Crystal Reports designer and the missed section are displayed.
    The same report is displayed correctly using RDC 9.
    If I show the group tree and select the missed section group, the section is correctly displayed on a separate preview page.
    I've some screenshot to better demonstrate the problem.
    I hoped SP1 will resolve the issue but unfortunately it didn't.
    Pier Alberto Guidotti

    This issue has been escalated for a fix. tracking number is TE5000325237. For anyone wanting to attach to this thread with a similar issue, please note the behavior as decribed in the TE below. If the description does not match your issue exactly, please create a new thread.
    Description - Steps to Reproduce;
    1) Run the report in the CR 2008 designer - note the second page
    2) Run the report in VS2010 app using CRVS2010 SP1:
    CrystalReportViewer1.ReportSource = <path to report>
    3) Look at page 2 and compare to page 2 from the CR2008 designer (also, see attached compare.jpg file which is a screen shot of both views) - note missing group on page 2
    4) Export to PDF, DO, RTF - same issue
    5) Print to printer using the viewer print button - same issue
    6) Same issue print to printer using code:
    Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
    crReportDocument.Load("C:\Crystal\Test\Forum tests\Alberto missing detail section\Crystal Issue\Distinta di Taglio CR 2010.rpt")
    crReportDocument.PrintToPrinter(1, 1, 1, 2)
            MsgBox("Done")
    7) Same issue print to printer using code:
    Dim crReportDocument As New CrystalDecisions.CrystalReports.Engine.ReportDocument()
    crReportDocument.Load("C:\Crystal\Test\Forum tests\Alberto missing detail section\Crystal Issue\Distinta di Taglio CR 2010.rpt")
    Dim rcd As ISCDReportClientDocument
            rcd = crReportDocument.ReportClientDocument
            rcd.PrintOutputController.PrintReport()
            MsgBox("Done")
    8) Export to RPT file format - view this export in the CR2008 Designer - report looks as it should
    9) Add report to the .NET2010 project. trying to view the repor tin the .NET2010 IDE results in .NET crashing.
    - Ludek

Maybe you are looking for