Exporting XI report to RPT with a subreport - problem

Post Author: gouldjw
CA Forum: Exporting
I have several report files that I refresh on a nightly basis using the .Net components.  Most of these work fine, but reports that have a subreport are experiencing a weird issue.  When I export to an RPT file, the main report and the subreport (not on-demand) export fine, but it also adds an additional "view" of the subreport with no data.  When I open the file in Crystal, this appears as an additional "preview" tab of the subreport and when I click on that tab, it asks me to log into the database to retrieve data.  The real problem is, when you open this report in the Crystal XI viewer, it always asks you to log on, presumably to populate this "phantom" view of the subreport, which I don't want to be there anyway.
Is this some kind of bug in the .Net components?  Is there any way to fix this?  Even if I have to somehow programmatically prevent this from happening, I need some way to get that extra view to go away.
Thanks.
--John Gould
Nashville, TN

Hi Ludek,
I trid the SP, but doesn't work. I can send the font to you, it is only 50K. If you would like to try I can send it to you, but i am not sure how i can upload the font file. I guess any none Windows standard font will have same issue, i guess.
For now, i am going to give up and use image file instead.
Thanks,
Lan
Do you know if it is well-known issue in CR?
- No I do not.
where i can get any SP of CR for VS2008?
https://smpdl.sap-ag.de/~sapidp/012002523100009351512008E/crbasic2008sp1.exe
Runtimes for SP1:
CRRedist2008_ia64.msi
https://smpdl.sap-ag.de/~sapidp/012002523100006255262008E/CRRedist2008_ia64.zip
CRRedist2008_x64.msi
https://smpdl.sap-ag.de/~sapidp/012002523100006255272008E/CRRedist2008_x64.zip
CRRedist2008_x86.msi
https://smpdl.sap-ag.de/~sapidp/012002523100006255282008E/CRRedist2008_x86.zip
I would not mind testing this, but I need to know if there is a free download of this font available. I Googled the font name, but a quick search did not come up with anything.
Alternatively, you could try CR 2008 (12.x) and see if that will do the trick for you. An Eval of CR 2008 is available here:
http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx

Similar Messages

  • 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

  • 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.

  • 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

  • Export report to PDF with RDC, ASP

    <p>I use asp on windows 2003 server and Crystal reports XI, service pack 3.</p><p>When I export a report to a PDF file, it creates a 0kb file. No error messages are received. The directory allows for writing files. I can manually export a file via the viewer. When I try to open this file I get an error that another application is using the file (Crystal?)</p><p>Code I use:</p><p><%<br />  reportname = "Radar.rpt"<br />  ExportFileName = "Radar.PDF"<br /></p><p>If Not IsObject (session("oApp")) Then                              <br />  Set session("oApp") = Server.CreateObject("CrystalRuntime.Application.11")<br />End If                                                               </p><p>Path = MID(request.ServerVariables("PATH_TRANSLATED"), 1, (LEN(request.ServerVariables("PATH_TRANSLATED"))-22)) & "Reports\"                   </p><p>If IsObject(session("oRpt")) then<br /> Set session("oRpt") = nothing<br />End if</p><p>On error resume next</p><p>Set session("oRpt") = session("oApp").OpenReport(Path & reportname, 1)</p><p>session("oRpt").MorePrintEngineErrorMessages = False<br />session("oRpt").EnableParameterPrompting = False<br />&#39;session("oRpt").DiscardSavedData</p><p>With session("oRpt").Database.Tables(1).ConnectionProperties <br />&#39; .Item("DSN") = "test"<br />  .Item("User ID") = "test" <br />  .Item("Password") = "test" <br />End With <br />  session("oRpt").ParameterFields(1).AddCurrentValue(Cint(request.Querystring("CustomerID")))<br />End Select</p><p>If Err.Number <> 0 Then<br />    Response.Write "An Error has occured. Please check the ASP page.<BR>"<br />    Response.Write "Error " & Err.number & " " & Err.description  & "<br>"<br /> Response.Write "Report: " & ReportName<br />End If</p><p>session("oRpt").ReadRecords<br />If Err.Number <> 0 Then                                               <br />  Response.Write "Error Occurred Reading Records: " & Err.Description<br />  Set Session("oRpt") = nothing<br />  Set Session("oApp") = nothing<br />  Session.Abandon<br />  Response.End<br />Else<br />  If IsObject(session("oPageEngine")) Then                              <br />   set session("oPageEngine") = nothing<br />  End If<br />  set session("oPageEngine") = session("oRpt").PageEngine<br />End If</p><p>Set CrystalExportOptions = session("oRpt").ExportOptions<br />ExportDirectory = MID(request.ServerVariables("PATH_TRANSLATED"), 1, (LEN(request.ServerVariables("PATH_TRANSLATED"))-22)) & "Docs\"<br />ExportType = "31"<br />CrystalExportOptions.DiskFileName = ExportDirectory & ExportFileName<br />CrystalExportOptions.FormatType = CInt(ExportType)<br />CrystalExportOptions.DestinationType = CInt(1)<br />session("oRpt").Export False<br />%><br /></p><p>&#160;</p>

    Hi Ludek,
    I trid the SP, but doesn't work. I can send the font to you, it is only 50K. If you would like to try I can send it to you, but i am not sure how i can upload the font file. I guess any none Windows standard font will have same issue, i guess.
    For now, i am going to give up and use image file instead.
    Thanks,
    Lan
    Do you know if it is well-known issue in CR?
    - No I do not.
    where i can get any SP of CR for VS2008?
    https://smpdl.sap-ag.de/~sapidp/012002523100009351512008E/crbasic2008sp1.exe
    Runtimes for SP1:
    CRRedist2008_ia64.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100006255262008E/CRRedist2008_ia64.zip
    CRRedist2008_x64.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100006255272008E/CRRedist2008_x64.zip
    CRRedist2008_x86.msi
    https://smpdl.sap-ag.de/~sapidp/012002523100006255282008E/CRRedist2008_x86.zip
    I would not mind testing this, but I need to know if there is a free download of this font available. I Googled the font name, but a quick search did not come up with anything.
    Alternatively, you could try CR 2008 (12.x) and see if that will do the trick for you. An Eval of CR 2008 is available here:
    http://www.sap.com/solutions/sapbusinessobjects/sme/freetrials/index.epx

  • Error exporting Crystal Report with VB Script

    I am working with Crystal Reports and attempting to export a .RPT file to a .PDF file using a VBScript called from InSQL. I can get the script to work properly if I require a user entry for file destination and name (.export true) but get the error message "Missing or out-of-date export dll" when I attempt to export the .RPT silently (.export false). The report also exports correctly when I manually initiate the export from within Crystal Report. Do you have any examples or solutions for this procedure? Thank you in advance.
    Here is my code for the VBScript export:
    dim rptfile, exportfile
    dim strDate
    dim objCRRpt
    dim objCRApp
    strDate = "_" & right("0" & month(now()),2) & "_" & right("0" & day(now()),2) & "_" & year(now())
    rptfile = UCase("C:\CompCriticalAlarmReport_Test\Report1.rpt")
    exportfile = "C:\CompCriticalAlarmReport_Test\criticalalarmreport" & strDate & ".PDF"
    Set objCRApp = CreateObject("CrystalRuntime.Application")
    set objCRRpt = objCRApp.openreport(rptfile)
    With objCRRpt
         With .exportoptions
         .formattype = CrEFTCrystalReport
         .diskfilename = exportfile
         .destinationtype = CrEDTDiskFile
         .usereportdateformat = true
         .usereportnumberformat = true
         End With
    .export (false)
    End With
    Set objCRApp = Nothing
    set objCRRpt = Nothing

    Ludek, I downloaded the VBA Sample application using the Microsoft Access Database and it is coming up with the same error as my VBScript for the PDF export. The error message for this application is "Run-time error '-2147190908 (80047784)': Failed to export the report."
    Private Sub Image47_Click() 'Exporting to PDF
    'Defines report's format type
    Me.crxReport.ExportOptions.FormatType = crEFTPortableDocFormat
    'Defines report's destination type
    Me.crxReport.ExportOptions.DestinationType = crEDTDiskFile
    'Defines report's file name
    Me.crxReport.ExportOptions.DiskFileName = "C:\MyPDFfile.pdf"
    'exports without calling the exporting dialog window
    Me.crxReport.Export False        <----ERROR OCCURS ON THIS LINE
    When I Run the application with Me.crxReport.Export True, the application executes without error and a popup appears prompting me to select the destination and format type. I need this to run automatically though without a user prompt.
    I have seen numerous topics regarding the exportmodeller.dll, crtslv.dll, and atl.dll files improperly registering or the incorrect versions causing export problems. Could this be causing problems with my export functions? Again, the reports export fine when I manually export them, I am just having a problem when I try to export automatically in any format (excel, text, pdf, rpt, etc...)
    atrain10

  • Issue with exporting Financial Report in Smartview 11.1.2.2

    If I export a FR in "Export in query Mode" , it concatenates the parent with the child (parent.child) and does not return anything in Smartview. Even though the report works fine in workspace.
    I narrowed down the issue and it seems if I use Stored member roll up instead of using Shared member roll up it returns the right data when I export the report in Smartview.
    So the issue is only with the FR using Shared members.
    Does anyone know if this is a known issue or can replicate this in their environment ? We are on version 11.1.2.2
    Thanks

    Nope that didn't work, but I figured out the error. I was running the command on a client machine. When I run the command on the server itself, it works fine.. well, now I have issues with my POVs, but at least it's finding my .csc file.
    Thanks for your help John.

  • CRVS2010 Beta - Cannot export report to PDF with unicode characters

    My report has some unicode data (Chinese), it can be previewed properly in the windows form report viewer. However, if I export the report document to PDF file, the unicode characters in exported file are all displayed as a square.
    In the version of Crystal Report 2008 R2, it can export the Chinese characters to PDF when I select a Chinese font in report. But VS2010 beta cannot export the Chinese characters even a Chinese font is selected.

    Barry, what is the specific font you are using?
    The below is a reformatted response from Program Management:
    Using non-Chinese font with Unicode characters (Chinese) the issue is reproducible when using Arial font in Unicode characters field. After changing the Unicode character to Simsun (A Chinese font named 宋体 in report), the problem is solved in Cortez and CR both.
    Ludek

  • Problem with exporting a report to excel vial citrix server

    Hi,
    We are encountering a problem with exporting a report to excel through ALV local file icon.A spread sheet is downloading only one row (From header) instead of many rows from the ALV output .  
    Above is working fine for the GUI installed on my PC, but not throgh the Citrix server.
    Can any body have idea on above mentined?
    Regards,
    SK.

    I understand that you're trying to download the file to a local computer  through Citrix. In this case you need autorizations in Citrix for your user ( CItrix user)

  • Exporting a Report to a pdf file with drill down!

    Hi,
    I would like to export a Report to a pdf file.
    My Report includes drill down options. I require the exported pdf with drill down options.
    (Similar to Navigation options in a PDF file).
    I hope this makes sense.
    Please provide a better solution for me.
    If am not wrong, this facility is not available with Crystal Reports!!!
    Thanks,
    Ramesh.

    Hi Ramesh
    You can download the trial versions of the Crystal Report from the following link:
    https://websmp202.sap-ag.de/support (Please copy the link and paste it to your web browser).
    You can get the license by putting a request in the follwoing link:
    https://websmp202.sap-ag.de/support(Click on Request License key under Service Corner).
    Hope it helps.
    Regards
    Sourashree Ghosh

  • How to export a report data with a custom file name?

    Hello:
    Env: OBIEE 11g Answers/Interactive Dashboards
    I have a tabular report (built in Answers) and displayed in a Dashboard. I want to export the report data in csv format prefixed with the <OBIEE user login name>_<Name of the Report>_<current timestamp> on a certain folder.
    Any ideas appreciated..
    Thanks
    Sankar Bala
    Edited by: 589151 on Mar 7, 2012 6:14 AM

    This does not help solve my problem.
    Tabular Report->Place it in a section in a dashboard->Report Links (Export Option turned on). When doing the export, I want to change the file name as the <Login Name>_<File Name>_<Time Stamp>.csv when doing the export into csv from the dashboard.
    Regards
    Sankar

  • Exporting Crystal Reports with embedded Xcelsius content to PDF

    Hi,
    I have a crystal report with an embedded xcelsius chart. I would like to schedule this report using Crystal Server 2008, sending it monthly as a PDF file attached to an email. But after exporting the report through Crystal Server, the xceslsius content is just blank. Shouldn't this be working?

    What is the version of Adobe Reader? Adobe Reader 9 should be there.Also check whether you have Flash Palyer/ flash Active X control installed.
    If you can view the dashboard after exporting it to PPT,it means you have Flash Player installed. You need to try with Adobe Reader 9.

  • Export a report though the URL as a PDF with BOOKMARKS

    Hi. I would like to export a report though the URL as a PDF with BOOKMARKS.
    As recommended in other posts, I updated Crystal Reports XI to Release 2 and I am able to export my report as a PDF with the bookmarks within the Crystal Reports tool.
    Is there a way to export my report as a PDF with the bookmarks through the URL ?
    Specifically, I would like to know the syntax of the URL to include the bookmarks.
    Thanks.
    KP

    You need to use OpenDocument feature.
    .NET:
    [http://<ServerName>businessobjects/enterprise115/infoview/scripts/openDocument.aspx?iDocID=<idocid>&sOutputFormat=P]
    JSP:
    [http://<ServerName>:<port No.>/businessobjects/enterprise115/desktoplaunch/opendoc/openDocument.jsp?iDocID=<idcoid>&sOutputFormat=P]

  • Exporting a report with color..

    Hi,
    While exporting to excel, can we export the report as it is with the theme color in the report
    Regards,
    Pa

    Pa,
    Using my export to excel package, you can do that - even choose the colors you want
    to display, if you change the package:
    http://htmldb.oracle.com/pls/otn/f?p=31517:108
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Exporting a report with a chart.

    Post Author: Coleen
    CA Forum: Other
    Hello, I am using Delphi7 with CR XI. When I export a report
    with a chart to a pdf in my development environment it works fine. But
    when I distribute my application, the export works correctly except the
    chart does not display.  I am using Installshield to distribute
    the following merge modules: CR11_rdc_license, CR11_rdc_reportengine,
    and CR11_rdc_runtime. What am I missing? Thanks,Coleen

    Hello Russell,
    The Joint Time Frequency and Order Analysis Tool comes with example data. If you use the sample data, do you see the same behavior? Here are the steps I took:
    Run the VBS script Time Frequency and Order Analysis 111.VBS to launch the tool.
    Select New Data File
    Select Noise data.tdms and Open. This is in the Sample Data folder in the tool's folder Time Frequency and Order Analysis 111
    Set the Time Channel to "1 Time" and set the Signal Channel to "3 Noise_2"
    Select Spectrum 3D CharDiag.TDR as the Report Templace.
    Select Joint Time Frequency Spectrum as the Analysis Type.
    Select Run Analysis. This will load the analysis data into a report
    Double-click on the graph to open the 3D Axis Definition window
    Select ... next to the Characteristic diagram to open the Curve Parameters window
    Under the Interpolation tab, uncheck Interpolation. Click OK and close both dialogs. The graph will re-draw.
    Go to File > Clipboard or press the Copy Graphic to Clipboard button.
    Paste the image in Paint or Microsoft Word
    With these steps, I do not get an error with the clipboard. Are you able to export to clipboard if using the sample data Noise data.tdms? Does copying to clipboard work with any data? I'm trying to determine if maybe a certain large or small set of data could be causing the issue, or if you always have this issue.
    Taylor B.
    National Instruments

Maybe you are looking for

  • My iPhone 4 flash is not working after 6.1.3 update anyone know why

    I haven't used my camera in a while (about a week) and when I went to take a picture I needed to use flak but it didn't work. I have had the phone a little over a year is this normal after a year

  • New Version 4.0 Bluetooth Software (SP2)

    Found the following news.  As stated it works under SP2 as well.  Will owners of the Btoes Dongle be getting this update?  Maybie a mod, admin or someone from MSI can answer this. Quote Broadcom® Upgrades Market Leading WIDCOMM® Bluetooth® Software W

  • Searching insert or update action

    Hi, i'm searching the update and insert action of a table. We've an oracle database dump from someone else and now we want to now how a special table is been filled. How can i discover this? Thanks in advance. Regards Nicole

  • IPhoto and a Projector

    Can I set iPhoto up so that when I play a slideshow from within iPhoto, it is displayed by the project as part of an extended monitor. I know keynote and powerpoint work this way. Thanks,

  • Skype Connection Issues

    After the most recent updates, I've discovered an infuriating issue with Skype. I am in two group chats, for weekly gaming with friends. In each of these, we've had little issue connecting and chatting with each other. However, after the most recent