Crystal reports 2011 exporting report having sub reports to excel

I have recently upgraded to crystal reports 2011 , but found crystal report engine problem when exporting to excel which has got subreport and in the subreport  having groups defined.IT gets hanged when calling reportdocument. export in visual studio 2010 c#
But when i do the same thing to export in pdf, works fine.
Any help is appreciated.
Thanks

Hi Don,
Thanks  for your reply.
Main Report file is SalaryWagesAnalysis.rpt and there are 4 subreports:
SalaryWagesAnalysisSection1.rpt,
SalaryWagesAnalysisSection2.rpt,
SalaryWagesAnalysisSection3.rpt,
SalaryWagesAnalysisSection4.rpt.
Also attaching the exported pdf file with sample data.
I am using Visual studio 2010 and crystal reports 2011
RuntimeVersion of
CrystalDecisions.CrystalReports.Engine  is v2.0.50727 and version is 13.0.2000.0
Thanks

Similar Messages

  • Crystal Reports 2008 Excel Export Compatibility Patch - second attempt :)

    Hello, I actually have a question related to the following thread, so I posted there and was recommended to start a new thread:
    Crystal Reports 2008 Excel Export Compatibility Patch?
    Question is related to the following doc, specifically, is this patch still available for CR 2008 or not?:
    http://help.sap.com/businessobject/product_guides/cr2008V1/en/xi3_cr2008eecp_readme_en.pdf
    A response from Don suggested this wasnt available for CR 2008 although this is confusing since the doc refers to CR 2008. My response was as follows and is essentially the question I still have (more so because we have another PeopleSoft/Oracle customer whos come across this doc and wants to know how to apply the fix for CR 2008). Thanks very much in advance!
    Hi Don, I know this is an old thread, but Im also running into the same issue and am confused by your statement since the referenced PDF doc says this patch is available for CR 2008. Did you mean that the patch is no longer available or supported for CR 2008 for some reason? If so, any idea why?
    Im a developer for Oracle/PeopleSoft and our PeopleSoft suite includes OEM Crystal. We recently upgraded to CR 2008 for our latest release and we are getting the same complaint from a few customers about not being able to output the XLS in Excel 8.0 compatiibility mode like before (In Crystal 9, we used the \Export\Excel\CompatVersion=80 registry key to enable this). So if this patch is available, it would be a huge benefit for us to be able to point our customers to it. If not, please still let me know eitherway.
    Thanks very much!
    Andrew

    Hi Andrew,
    So the story is the Rubik's patch has been available from CR 9 up until CR XI R1 as a simple download. In R2 and above to get it you have to log a case, work with a Report Rep to try to design your reports so they use the new export dll. To get you by until you have time to do so, and after filling out a query for the PM to get info on how to possibly improve the updated export dll to meet your needs, he will then send you the patch on the agreement that this is the LAST time you ask for it.
    Support no longer has access to the patch so all requests must go through the Program Manager who keeps tract of who received it.
    Bottom line is you need to update the reports to use the new export model.
    That old legacy dll was bugging and impossible to maintain.
    You can [purchase a support case here|http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=54722300].
    This is not a bug and has been this way for 10 years now, time to update your export model and Excel Macro's....
    Thank you for your understanding
    Don

  • How to export crystal report to excel through progeam

    Hi,
    Can any help me how to export crystal report to excel through program(C#). I'm using VS2005.
    Also, the report should be in a pivot table format after exporting to the excel..please help me how to do this
    Thanks,
    Venky

    Hi Venkat,
    The link below provides the code C# in an ASP.NET codebehind file
    http://www.codeproject.com/KB/cs/Crystal_Report_Export.aspx
    http://aspalliance.com/478_Exporting_to_Excel_in_Crystal_Reports_NET__Perfect_Excel_Exports.2
    Regards,
    Abhijeet  T.

  • I need to create a dashboard.  How do you bring Crystal Reports into Excel?

    Hello,
    I need to create a dashboard.  My boss wants a spreadsheet to show multiple reports and charts about the business.  I know you can insert multiple charts in Excel.  However, I need to be able to insert a report next to one of the charts.
    I am thinking of using the RDC and bring in a Crystal Report.  The problem is that I see with Crystal Reports 2008, you can't use RDC.
    Is there an upgrade to RDC?  How do I bring the Crystal Report into Excel next to the imbeddged charts.  I know I can export a Crystal Report to Excel.  But that Exports to a entire spreadsheet.  I just want to embed a Crystal Report into Excel.  The last time I did a project like this, I used to use the RDC with the same code as in VB6.  Worked great.
    How do you embed a Crystal Reports now?
    Thanks.

    The question was how do you do it?
    I don't have .NET.  However, if that is the only way, then I can buy .NET.
    I just need someone that knows how to do it to point me in the right direction.  To embed something in Excel, I hadn't thought of using .NET.

  • Problem with Exporting crystal report to Excel

    Hi !
    I am new to crystal world. I have an application which has csp code. From the csp code (internal website) we invoke crystal using viewer.cwr to view or export reports. Last week we upgraded from Crystal 10 to Crystal Reports XI Release 2. Due to this upgrade we did some modification to the Viewer.cwr url ( Changed to Viewer.asp too). Now the View option is working fine but when the report is exported to an Excel the columns are squeezed up.
    Here is the code for the viewer.asp :
    ExcelWindow = window.open("http://servername/crystalreportviewers115/viewrpt.asp?id=" + id + "&apstoken=" + escape(token) + <%Response.Write("'"&sReportLogin&"'")%>'&promptex-REPORTDATE='pRptDate'&promptex-State='pState'&promptex-usertype='pUserType'&promptex-startreport='pStartpSelect'&cmd=export&export_fmt=U2FXLS:3&',"ExcelWindow", windowprops);                                                         
    Is there any way to solve this formatting issue ? I tried changing the export format option as "export_fmt=U2FXLS:4" but this pulled up the data with the report header and sub heading in one row. Please help. 
    Nandita

    Hi Kedalene,
    Please check below links.
    Microsoft Visual C++ Runtime Library:
    VC++ runtime error
    C++ Runtime Error when installing addons | SCN
    Hope this help
    Regards::::
    Atul Chakraborty

  • When Exporting a Crystal Report to Excel format all of the dates get changed when viewed on Mac version of Excel

    We're using Crystal Reports 10 and when we export a report from the Crystal Viewer using either the MS Excel 97-2000 option or the MS Excel 97-2000 (Data Only) option, the date columns on the report appear as expected on a PC version of Excel, however, most of the users at our company use Macs so when they open the same report on the Mac version of Excel all of the dates show up as 2011 or 2012 dates eventhough they are suppose to be 2008 dates. We've tried to just open the report after the export process and then do a "Save As" but get the same result. The date columns all appear to be formatted as Date. The dates on the Crystal Viewer appear as expected when viewed on a Mac. The users are running Excel for Mac OS-X Service Release 1.0. Any idea why this may be happening and is there a solution to this problem? Thanks!

    Hi,
    To clarify, are you currently using the Mac version of Crystal Reports Viewer 2008 which you downloaded from here?: http://www.sap.com/solutions/sapbusinessobjects/sme/reporting/viewer/index.epx

  • Export Crystal Report to Excel with Grids

    Can anyone tell me how or if it's possible to include the grid lines when exporting from Crystal Reports (version 10) to Excel?   I am exporting as "data only" because I need to include field properties (color, bold, etc.).  Because of this, I don't see a "Show Gridlines" option on the export.   On the Crystal report, I have selected both single line and double line borders for each field on the report, but it's not transferring over to Excel.
    Thanks for any help you can provide.

    I did adjust the col. widths, but on larger col. headings, the text was chopped off.   I could get around this by making the field wider on the Crystal report.  With having so many cols., this was an issue.   And if the detail wasn't the same width as it's corresponding header, the report was not pretty.  
    This report was an evolution with me trying different things to get everything to fit in the designer until I finally discovered the Image Writer.   By exporting as Data Only, it doesn't matter how wide the heading/field is in the designer because the entire text exports.   Then I just select the entire worksheet and adjust the col. alignment so that everything shows.   I had to play around with things to get my colors and fonts to export - but the grids were the only remaining piece to the puzzle.  
    As it turns out, the users are happy with the end result without the grids.   They can add them manually if they so choose.
    Thanks

  • Cannot export crystal report in excel format from crystal report viewer

    This problem occurs on only one workstation.
    Open Advanced Reports > Enter workorder # > Click on 'workorder work(uninvoiced)' > Work order opens.
    Click on icon "Export report"
    Save as type: change to .xls
    Error: Crystal Report Windows Forms Viewer. Error in file
    SAP.......rpt:
    Error detected by export DLL:
    Export failed.

    Try adding c:\Program Files\Business Objects\BusinessObjects Enterprise 12.0\win32_x86 to your windows enviroment variable PATH then restart.

  • Exporting Crystal report into Excel with code

    I have written the following code to export crysal reports to excel. My problem is, when it exports number it adds the thousand seperator (,), but if I export the report from Crystal designer, it works fine. So I believe I am missing something in my code. Could some one help me with this? Any help is greatly appreciated.
           Dim xlApp As Microsoft.Office.Interop.Excel.Application
            Dim xlBook As Workbook
            Dim myReport1 As New ReportDocument
            Dim reportPath1 As String = ""
            reportPath1 = "C:\test\su.rpt"
            myReport1 = New ReportDocument
            myReport1.Load(reportPath1)
            Dim tmpExcelFile As String = ""
            tmpExcelFile = "C:\test\test.xls"
            myReport1.ExportToDisk(ExportFormatType.Excel, tmpExcelFile)

    Hi Don,
    Please provide
    - Crystal Reprots version
    - Visual Studio version
    - Win or web app?
    Try using 'ExportToStream' see if it reproduces the issue.
    [1198587 - How to export a report to stream in C Sharp (C#) for Visual Studio .NET |http://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/oss_notes_boj/sdn_oss_boj_bi/sap(bD1lbiZjPTAwMQ==)/bc/bsp/spn/scn_bosap/notes%7B6163636573733d36393736354636443646363436353344333933393338323636393736354637333631373036453646373436353733354636453735364436323635373233443330333033303331333133393338333533383337%7D.do]
    - Bhushan.

  • Error while exporting crystal report to excel format or word format

    i am using vs 2010 and sap crystal report(version 13.0.0.99) for vs 2010. when i export report to excel(97-2003 format) from crystalreportviewer, i am getting error that application has stopped working.  I also have ms-office 2007 install on my pc.
    when i see eventlog of system i notice following error:
    Faulting application name: NBFCForms.exe, version: 1.0.0.0, time stamp: 0x4e170b01
    Faulting module name: crxf_xls.dll, version: 13.0.0.99, time stamp: 0x4cc412ac
    Exception code: 0xc0000409
    Fault offset: 0x0009742e
    Faulting process id: 0xc60
    Faulting application start time: 0x01cc3e1e5657a4a4
    Faulting application path: C:\Users\Harshada\Desktop\NBFCDeploy\NBFCForms.exe
    Faulting module path: C:\Program Files\SAP BusinessObjects\Crystal Reports for .NET Framework 4.0\Common\SAP BusinessObjects Enterprise XI 4.0\win32_x86\crxf_xls.dll
    Report Id: f0bae850-aa11-11e0-a98e-0019d144259b

    Thanks Roberto and Kalpana.
    This link solved the problem:
    http://social.msdn.microsoft.com/Forums/en-US/bcf792f4-4da3-4dac-b689-60168e695683/error-internet-explorer-cannot-download-edreportviewerwebcontrolaxd-from-site?forum=vsreportcontrols

  • Exporting Crystal Report To Excel

    Hello,
    I have created a report in crystal for my company. It sorts by rep name, then customer, then products they purchased. When I export to excel, it comes over fine, but the customer name, address, etc. is in the same column as quantity, price, etc.
    I want to be able to sort this date in excel by customer, or product, etc. but cant since some of the data from the crystal report takes up the same columns as other data within excel, also the formating,"******: and other stuff that sperates the data in crystal report to make it easier to read when printed comes over to.
    How can I export this report without all the formating, page formats, etc. not coming over to excel and be able to have each unique field within its own column so i can sort easily in excel.
    thanks
    don

    Hi,
    Place the fields next to each other in report design. Set appropriate width. While exporting in Export window select following format from dropdown
    Microsoft Excel 97-2000 Data only (XLS)
    click OK
    then in Excel Format Options window select
    Excel Format 'Custom: Data is exported according to selected options' radio button. There are three radio buttons.
    In Column Width select 2nd radio button
    Column width based on objects in the : Details (there is dropdown for this)
    And at the end there 8 check boxes. Out of 8 you have to select 4
    check - Export object formatting
    check - Maintain relative object position
    check - Simplify page headers
    check - show group outlines
    Hope this helps.

  • Exporting Crystal report to excel 2007 with an image

    Hi - I hope this is the correct forum for this question.
    We are using the Crystal report viewer and everything works just fine . When I go to export to excel (using office 2007) the images are not exporting, do you know if this is an excel 2007 problem or a Crystal issue?
    Thanks in advance
    DanPlo

    Hi;
    I still recommend installing the Service Pack. If the issue persists, and is contained to the version 8.5 reports, then yet, they will likely need to be converted to version 11.0 to work correctly. The Crystal Reports engine was completely re-written in version 9.0, so moving from 8.5 can cause some issues.
    If you try exporting one of the 8.5 reports from the verison 11.0 Designer, do you have the issue?
    Regards,
    Jonathan

  • Formating issue after export crystal report to excel format

    Hi Everyone,
    I have a crystal report devloped in crystal 8.5 and i am calling this report from my .net windows application.  I have a problem when i export the report in excel format. One of the column size(which is report footer) gets increased because of which my report is not properly formated. I have reoved all the blank lines and extra space but still i am not able to reduce the column size. Any help will be appriciated.
    Thanks in advance.

    Hi,
    Please let us know the Visual Studio Version that you are using, just to inform you, VS2005 is compatible with CRXIR2 and above and VS2008 is compatible with CR2008 + SP0.
    Do the report display properly from the designer? Does the Export from the designer in xls works fine?
    Thanks,
    AG.

  • Export crystal report to excel with subreport

    I have a report with two subreport, and the question is when I export the main report to excel ( data only ) there is no data in the excel file, but when I just export the subreport to excel ( data only ), the excel file shows all data correctly. Does anybody know a solution can resolve this problem? Thanks.

    1. Add one more Report Footer by right clicking on the Report Footer and selecting insert section below
    2. Put Subreport 1 in the Report Footer a i.e. RFa
    3.Put Subreport 2 in the Report Footer b i.e. RFb
    4.Export the report to Excel Data Only.
    5. You should be able to see the data for both the subreports

  • Crystal Reports 2008 - Excel 2007 Data Source

    Have been using Crystal reports 10 and have downloaded 2008 but I can't see a way that I can use an Excel 2007 spreadsheet .xlsx as a datasource. The reason I need 2007 is due to the increased number of columns.
    Can anyone confirm if it can be done if so how
    cheers
    Malcolm

    Hello,
    Sorry its not supported. Next version of CR will support it.
    CR 2008 will generate sheets for every 65,000 rows of data.
    If you need that many coumns you may want to look at some other export format or refining your data.
    Thank you
    Don

  • Crystal report to Excel

    Hi
    I have downloaded data from crystal report. There are over 100 thousand records. If I export to excel around 65000 records are exported. This could be one of the reason, I could not use filter to analyze the data.
    Any ways to export all 100 thousand records to excel or access.
    Please help.
    NM

    Re:  missing data
    Well, I was going to ignore your post as I have never used crystal report.
    But there may be a couple of basic issues involved.
    Are you exporting to Excel?  If so, the issue may be with the application that does the Exporting.
    If you are using Excel to import the data, then it may be an Excel issue.
    You need to provide more details.
    In addition,  it so happens that Excel versions xl97 thru xl2003 have ~65,000 rows per worksheet.
    Later versions (with the Ribbon) have ~1,000,000 rows per worksheet.
    If you are trying to add 100,000 rows of data to a worksheet with 65,000 rows then spliting the data into two sections, before exporting, may be required or some custom Excel vba code might work.
    Jim Cone
    Portland, Oregon USA
    free & commercial excel programs (n/a xl2013)
    https://jumpshare.com/b/O5FC6LaBQ6U3UPXjOmX2

Maybe you are looking for

  • Packing at Delivery level

    Hi Experts, I have created delivery for two line items.Now I click PACK on delivery document and it directed me to packing page with HU's and Packing materials.On the bottom we have two line Items. Can u please help me how to proceed with packing fro

  • How to edit cell in a Data Grid

    Hai     I have pasted the mxml below.    I need how to edit a cell in a datagrid.   1. Run the mxml, enter the values in the textbox and click add button.   2. then click AND button, now u can see the values displayed in the grid. 3. Then again chang

  • Which path is the localhost for the tomcat

    hi, if i type http://localhost:8080/ then which path will it access i have the tomcat in the directory called d:\jakarta-tomcat-4.1.12\ please help me from darshan soni

  • IPhone won't backup during iTunes sync

    Hi!  The last few times I've synced my iPhone 3GS in iTunes, it won't backup.  I get an error message after it goes through the other steps to sync apps and such. Normally the backup is step 1, then it does the other steps, but now it's skipping righ

  • HT4994 HAI CAN YOU TELL ME WHICH SIM IS USED IN THIS IMEI **** AND WHICH COUNTRY

    HAI CAN YOU TELL ME WHICH SIM IS USED IN THIS IMEI **** AND WHICH COUNTRY <Edited By Host>