Issue with excel report generated by Crystal Report

Dear support center,
I am trying to evaluate the crystal report package available through the VS2005 Pro edition for an application at work. I am new to Crystal Reports and using CR 10 on my system.
Here is a visual image of my report format. I use a dataset to flood the report.
http://www.coe.uncc.edu/~jjzachar/CRHelp/CrystalReport.JPG
Here is the excel report I receive. I want to eliminate:
http://www.coe.uncc.edu/~jjzachar/CRHelp/excelOutput.JPG
1. The extra blank rows after each "data entered or shown in my report"
2. It seems like many of the fields are being merged. How do I avoid this?
Please help!
Thanks a lot for your time ... in advance!
Sincerely,
Jerry Zacharias

Swetha,
I export the report using "VB.net" code. So, I dont' really get any window options.
Here is the snippet of code I am using ...
Private Sub ExportReportFormats(ByVal fileName As String)
        'Dim a As New CrystalDecisions.Shared.DiskFileDestinationOptions()
        'a.DiskFileName = fileName
        Dim CrExportOptions As CrystalDecisions.Shared.ExportOptions
        Dim CrDiskFileDestinationOptions As New CrystalDecisions.Shared.DiskFileDestinationOptions()
        CrExportOptions = objRpt.ExportOptions
        If fileName.EndsWith(".pdf") Then
            Dim CrFormatTypeOptions As New CrystalDecisions.Shared.PdfRtfWordFormatOptions()
            CrExportOptions.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.PortableDocFormat
            CrExportOptions.ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.DiskFile
            CrExportOptions.DestinationOptions = CrDiskFileDestinationOptions
            CrExportOptions.FormatOptions = CrFormatTypeOptions
            'CrDiskFileDestinationOptions.DiskFileName = "C:\Documents and Settings\Robot\Desktop\Trash\" & fileName
            'CrDiskFileDestinationOptions.DiskFileName = "C:\Documents and Settings\Robot\Desktop\Reports\" & fileName
            CrDiskFileDestinationOptions.DiskFileName = exportFolderLocation & "\" & fileName
        ElseIf fileName.EndsWith(".xls") Then
            Dim CrFormatTypeOptions As New CrystalDecisions.Shared.ExcelFormatOptions
            CrExportOptions.ExportFormatType = CrystalDecisions.Shared.ExportFormatType.Excel
            CrExportOptions.ExportDestinationType = CrystalDecisions.Shared.ExportDestinationType.DiskFile
            CrExportOptions.DestinationOptions = CrDiskFileDestinationOptions
            CrExportOptions.FormatOptions = CrFormatTypeOptions
            'CrDiskFileDestinationOptions.DiskFileName = "C:\Documents and Settings\Robot\Desktop\Trash\" & fileName
            'CrDiskFileDestinationOptions.DiskFileName = "C:\Documents and Settings\Robot\Desktop\Reports\" & fileName
            CrDiskFileDestinationOptions.DiskFileName = exportFolderLocation & "\" & fileName
        End If
        objRpt.Export()
    End Sub

Similar Messages

  • Cannot Extract Embedded Font in PDF Report Generated Using Crystal Reports XI

    The issue is that sometimes the PDF reports generated by Crystal Report XI are not showing the fonts properly. Arial font is used in the Crystal report template(.rpt file) for field label and data elements. When the report is opened in Adobe Reader, it displays the message - "Cannot extract the embedded font 'AAAAAA+ArialBold'. some characters may not display or print correctly." Other PDF Readers like Foxit show blank spaces instead. I tried to change the font to Courier New, Times New Roman etc but still getting the same message.
    The issue is consistent when the application is deployed in Windows server. When deployed in Unix server the issue happens very occasionally. The font files are available and installed in the UNIX box.
    Please tell me why this error message is shown and also tell me how to get it fixed.

    Hi Scot
    Just replied to your email re. conf call.
    In the meantime.
    1st question.  
        Some of our developers are creating the reports under crystal 2008, while some are 2011.
        Could this be a problem, when they are run by the SDK?
        Should we upgrade all our developers to crystal 2011?
    The version of CR a report is created in should not matter at all. I am 100% certain this is not the issue.
    2nd question
        When the report is run, to create the pdf... why would it actually embed the font on the pdf?
        if they weren't embedded.. wouldn't it just pull up the proper font, if the user's pc had that font on their
        pc?
        if it does the common fonts aren't embedded, we would just have to worry about the things like
        barcode 3 of 9
    I can not answer this as that essentially is the way the product is designed. It may look like a limitation, but there are no work-arounds and I would not consider this to be a bug. Perhaps an enhancement, but a pretty faint hope there. And even if, enhancements take very, very low priority and take long, long time before implementation.
    3rd question
        Would the fonts, just need to be installed on the server?   we've seen some indication, that they
        also need to be in a java sub-directory
    The fonts must be on the server as that is where the report engine does it's work, then the report is streamed to the user's browser. E.g.; there is no work done on the browser. Also, the process must have rights to access the fonts.
    One last point. You mention deployment to Linux. Linux is not supported. Please see: SAP Crystal Reports, Developer Version for Microsoft Visual Studio - Supported Platforms
    I suspect this is more an issue with CR not working with the framework for Linux.
    - Ludek

  • Issues with Bex query structures and Crystal Reports/Webi

    Hi experts,
    I'm having an issue with Bex Query structures and nulls. I've built a Crystal Report against a Bex query that uses a Bex Query structure. The structure looks like the following
    Budget $
    Budget %
    Actual $
    Actual %
    Budget YTD
    etc
    if I drag the structure into the Crystal Report detail section with a key figure it displays like this
    Budget $     <null>
    Budget %     <null>
    Actual $     300
    Actual %     85
    Budget YTD     250
    the null values are displayed (and this is what is required). However if I filter using a Record selection or group on a profit centre then the nulls along with the associated structure component are not displayed.
    Actual $     300
    Actual %     85
    Budget YTD     250
    Webi is also behaving similarly. Can anyone explain why the above is happening and suggest a solution either on the Bex side of things or on the Crystal Reports side of things? I'm confused as to why nulls are displayed in the first example and not the second.
    Business Objects Edge 3.1 SP2
    SAP Int Kit SP2
    OS: Linux
    BW 701 Level 6
    Crystal Reports 2008 V1
    Thanks
    Keith

    Hi,
    Crystal Reports and Web Intelligence will only show data which is in the cube. You could have an actual 0 or Null entry whithout grouping but by changing the selection / grouping in the report the data does not include such entry anymore.
    ingo

  • Issues with Infoview data refresh on Crystal Reports based on BW BeX query

    Hi all,
    We applied the Business Objects XI3.1 fix pack 3.1 with Integration toolkit fix pack 3.1 in our environment.
    After that we started having trouble with Crystal Reports based on BeX queries that use manual input variables.
    The data refresh would not work in Infoview.
    The data refresh would work using the Crystal Reports designer gui on local machine.
    regards,
    Abhishek

    Hi all,
    This thread is for the benefit of all the BW/BO people who faced issues with BO reports not working after certain fix pack installations.
    After lot of time spent in debugging this and researching and some help from SAP, we found that BASIS had missed a step in the BO patching. This step was relating to applying some BW transports in the BW system related to the new Integration toolkit.
    Please use below notes for the BW transport task of patching BOE Integration toolkit.
    Refer to Note#1472104 which explains about loading the
    transports when we install BO Service Packs or Fix Packs. Also please refer to the Note#1271751 for the advice on transports for BW systems.
    Please go through page 206 (Configuring transports) in the SAP Integration Kit installation guide. You can download this document at below link.
    https://websmp106.sap-ag.de/~sapidb/011000358700000559912010E/xi31_sp3_bip_sap_inst_en.pdf
    Refer to Note#1345919 which explains about the process of loading transports for SAP IK.
    regards,
    Abhishek

  • Performance issue with two Infosets in one crystal report

    I am using two infosets that are not linked together by any primary key. The main infoset had transaction records and the seconds infoset has only one record (which is a foreign exchange rate). The performance is slow and I am presuming its because there are no linked fiields between the infosets, everytime a record is read from the main infoset it goes to the second infoset and also reads the record there. Is there a way toimprove performance? How can I have the report read the second infoset only once and stiore that value to be used when reading trecords from the first infoset.

    I am using two infosets that are not linked together by any primary key. The main infoset has transaction records and the second infoset has only one record (which is a foreign exchange rate). The performance is slow and I am presuming its because there are no linked fileds between the infosets, everytime a record is read from the main infoset it goes to the second infoset and also reads the record there. Is there a way to improve performance? How can I have the report read the second infoset only once and store that value to be used when reading records from the first infoset.

  • Report fails to generate on Crystal Reports Server

    Post Author: cmilkosk
    CA Forum: General
    Hello all!
    I have a case open with BO on generating a report from a Crystal Reports Server (CRS).  The report works fine when running in Crystal Reports on my PC, but after I send it to the Crystal Reports Server, it fails with a message like:"Failed to open the connection.
    C:\Program Files\Business Objects\BusinessObjects Enterprise 11.5\Data\procSched\metrixdb.reportjobserver\~tmp9bc512965895e0.rpt"This error appears to be telling you that it is trying to connect to
    the CRS's reportjobserver process and having a problem, but the service is up according to the Central Config Manager. I tried starting and stopping it, but it didn't make a difference.  This happens for different reports sent to the server.  One common thing that I've noticed is that the reports that connect to the CRS's local SQL Server 2005 database are the ones that are failing.  So, my CRS resides on the same host as the SQL Server 2005 database (which also houses the CRS SQL DB).  Interestingly, reports scheduled that connect to a remote SQL Server 2000 database work fine.  It could be the simplest report that I am running off of the CRS/SQL Server 2005 host, and it still fails every time. Tech support so far hasn't been much of a help. They suggested that I upgrade my Crystal Reports software on my PC to R2, but that didn't fix the problem.Has anyone had any trouble like this before?  If so, have you found out what the cause was?I'm beginning to wonder if it is related to SQL Server 2005 or potentially just that it is connecting to a local database.Note - my CRS's software version appears to be 11.5.3.438.  I'm not sure if I am running CRS R1 or R2 (how can you tell?).Anyone have any ideas?Thanks,Chris

    Post Author: cmilkosk
    CA Forum: General
    Anyone have any ideas?  Tech Support doesn't seem to be helping much. Chris

  • While generating a crystal report can we edit database fiels in field explorer (at middle can we edit database fields)

    while generating a crystal report can we edit database fiels in field explorer (at middle can we edit database fields)

    Wrong forum to post the question, try to post the question in crystal reports community.
    Its not possible to edit the database fields while creating the reports, its only used to call the rows of values in it. Can you explain me in detail what are you actually looking for .
    --SumanT

  • While generating a crystal report can we edit database files in field explorer ?

    Hi,
    while generating a crystal report can we edit database files in field explorer (at middle can we edit database fields)
    Regards,
    Mahendra

    Wrong forum to post the question, try to post the question in crystal reports community.
    Its not possible to edit the database fields while creating the reports, its only used to call the rows of values in it. Can you explain me in detail what are you actually looking for .
    --SumanT

  • Views on CF Report Builder and Crystal Report

    Dear all,
    I would like to get your opinions on CF Report Builder and
    Crystal Report.
    As we all know, CF Report Builder is a new reporting tool.
    But I find it very difficult to design a complex report maybe due
    to limitation in its functionalities. Sometimes the tool shutdowns
    by itself without any warning and reason. But the output is nicely
    presented on a flash paper / pdf and it can be run on non-MS
    platforms.
    On the other hand, Crystal Report is a more matured product
    but runs only on MS platform. It is very easy to use and very
    powerful. I have been using it for almost 10 years. But the output
    is not nicely presented on the web browser unless if we purchase
    Crystal Report Enterprise to generate the report which is very
    costly.
    Can you all share your views? I need to make decision which
    tool(s) to use. Really appreciate it.
    Cheers,
    Keiko

    Hi Keiko,
    Yes, CF Report builder is new and initially there was few
    issues with this. But I guess now it's good after hotfixes.
    Well, I am using CF Report Builder. It's good for me. You can
    also design and develop complex reports, that depends upon the
    query you are writing. You can also add subreports to your main
    reports.
    Mainly CF Report is platform independent and you can also
    generate reports in PDF, EXCEL and FlashPaper.
    Crystal Report is no doubt is very good, and it's there for
    long years. I agree you can create complex reports with this, but
    you also can do the same in CF also. You are using this for last 10
    years, so I guess you should try something new and that is CF
    Report Builder and you can judge then.
    I am sure you will have fun with CF.
    Thanks
    Sankalan
    (www.mindfiresolutions.com)

  • Total No of pages different in report printed using Crystal Report XI R2 vs SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8)

    Currently in our application, we are using Crystal Report XI R2 for generating the reports. We are in the process of upgrading the Crystal Report to SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8). I updated that on my machine and all the reports work fine. I didn't have to modify any of the reports.
    However when comparing the reports, we found that there are few reports on which the total no. of pages differ from the report displayed using Crystal Report XI R2 vs SAP Crystal Reports, developer version for Microsoft Visual Studio (File Version 13.8). Comparing the reports, it looks all the data that were fit on one page earlier with version XI R2 doesn't fit on the same page with version 13.8, thereby increasing the page counts.
    The fonts, page margins everything set on report itself. Nothing being set in the code.
    Both the application is using the same report that is pulling the data from the same database. Our application is a web application.
    Any suggestion, why this is happening.
    Thanks.
    Sanjay

    I am not sure what is being compared here?
    CRXI R2 designer to CRVS?
    CR XI R2 in some version of .NET to CRVS?
    CR XI R2 using RDC SDK to CRVS?
    Also, is this happening on your development computer or after you deploy?
    If you compare the the "Page setup" options dialog between reports that work and those that do not work, do you see any difference?
    Is this a web or a win app?
    Are you seeing the same issue when viewing and exporting - say export to PDF?
    What is the printer driver used and it's version?
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

  • Report works in Crystal Reports, but not when scheduled in Crystal Server

    Hi,
    I have a pretty simple report designed in Crystal Reports 2008. Basically it shows a list of call notes (memo field) from customer activities in our CRM system. The report works fine in Crystal reports, but when run or scheduled in Crystal Server 2008 the output is always blank. Furthermore, the page format etc. is "lost" in crystal server, so that the output is PDF of a quadratic blank sheet (not my standard A4 format)... Exporting to other formats - excel, Word etc. all gives the same result.
    I have tried to strip out various formulas, formatting etc from the report, but nothing helps. Which leads me to thinking that the real problem is that the report contains a memo field? Anyone else had this problem?
    wkr
    Claus
    Edited by: Claus Poulsen on Nov 9, 2010 3:34 PM

    Hi Claus,
    I've had issues between what Crystal does and what the Report Server does.  To resolve this, we found out Crystal Reports 2008 latest service pack has some things that will fix Server 2008 and they aren't in the latest Server update. 
    We updated Crystal Reports 2008 on our machines.  Installed the latest update for Crystal Server and then installed Crystal 2008 on the Report Server and installed the Crystal Reports 2008 update.  A lot of our compatibility issues went away after that. 
    Good luck,
    Brian

  • T-code to see the report generated by a Report Writer.

    Hi,
    I  am new to report writer and need your help.
    I have a output which is generated  through a report writer.
    I need to compare the code that generated this output in development and production systems.
    The only information I have is  the library name and a z report name which gives the output.(throgh t-code GR33)
    But when I try to execute the same report in Se 38, it says that te report does not exists .
    Please suggest what is the t-code to see the report generated by a report writer , so that I can compare the codes in different systems.
    Thanks,
    Suchi.

    Hi,
    Thanks for the replies.
    The actual issue is :
    I have  a report created by report writer in 2 languages in Chineese and in English.
    In the selection screen of the chineese report some of the labels are missing.
    It is getting printed as ####### instead of fiscal year , Period etc.
    This is happening only in production while in the development system it is correct (Both the chineese and the English selection screen ).
    I guess this is a transportation issue.
    Please suggest.
    I am ot able to see the Transport Requests associated with it .
    Can you please guide me for the same.
    Where can I see the TRs associated with this report.

  • Upgrade from Crystal report 8 to Crystal report 2013

    Dear all,
    Need some information pertaining to upgrade of Crystal report 8 to Crystal report 2013 (to be invoked from thick client .NET applications)
    Is it possible to directly upgrade from 8 to 2013 ? Or should there be a move to intermediate version before going to 2013 ?
    How is the upgrade generally done ? (do we just open the report and save in new version, or do they have any upgrade wizard)
    What are the typical issues we may face while going from lower version to higher version (I understand queries may break, format and layout may change.  Are there any other issues specific to upgradation.
    Regards,
    Jain

    Hi Jain,
    Moved your post to .NET Forums.
    Since CR 8.0 is 12 or more years old there is no "upgrade path" now. The Database drivers have all changed and the Parameter API's have also.
    Best way is to get CR 2011 and manually open each and every report and update the DB connection using the Set Table Location, this requires updating the DB Client to current versions also.
    Note there are some old legacy DB sources no longer available so that can be a problem also.
    CR 8 is not Side By Side compatible with any other version so make sure it's not installed on the same PC. It will never work and cause all sorts of problems for you.
    Basic report layout stayed the same but Printing has changed a lot also so search here, lots of post on the subject.
    For more help need to know your data source also?
    And check the Overview Tab, on the left side, lots of resources and samples to get you started.
    Also, first warning is set your project to X86 and the full Framework, do not use the Client version.
    And the SDK is no longer shipped with CR Designer install, VS installer and redist packages are all available from here:
    SAP Crystal Reports, developer version for Microsoft Visual Studio: Updates & Runtime Downloads
    Don

  • Crystal Reports V8.5から.Crystal Reports 2008へのレポートファイルのコンバート

    現在、Crystal Reports V8.5から、Crystal Reports 2008へバージョンアップをしています。
    Crystal Reports V8.5で作成した定義を、Crystal Reports 2008で実行した際に
    データソースの保存場所の設定が、V8.5と2008の間で変わった(と思っています)為
    帳票出力出来ません。
    V8.5の定義では、以下のようにデータソースのパスを指定しています。
    レポート
    |-XXXX.DBF
     |-プロパティ
       |-データベースタイプ:xBase
       |-サーバータイプ:pdbxbse.dll
       |-サーバー名:XXXX.DBF
    ◆メニューバーのデータベース -> データベースの照合 -> データソースの保存場所の設定 -> プロパティのデータベースパスをレポートと同一にする -> レポートファイルを上書き保存
    上記作業を行うと、Crystal Reports 2008でもデータソースを正しく見る事が出来るようになるのですが、
    いかんせんレポートファイルが100本近くあるので手作業で1つ1つ行っていくのが手間です。
    このコンバート作業について、SAP社からユーティリティなどはリリースされていますか?
    ダウンロードサイトは確認しましたが、見つけられてはいません。。。
    また、ユーティリティが無ければ、このコンバート作業をバッチプログラムなどで行いたいと考えています。
    どなたかバッチプログラムを作られた方いらっしゃいますか?それとも、バッチプログラムでの作業は無理なのでしょうか?

    Hi Again,
    That is very strange, almost like a pop up blocker is enabled.
    All I can suggest is to use ProcessMonitor and look for Access Denied errors to see if that helps, likely some security setting is blocking the linking UI from updating itself.
    And/Or purchase a case on line and get someone in Support to work with you directly to fix the issue. It's beyond what forums can do now.
    Here's the link:
    http://store.businessobjects.com/store/bobjamer/DisplayProductByTypePage&parentCategoryID=&categoryID=11522300?resid=-Z5tUwoHAiwAAA8@NLgAAAAS&rests=1254701640551
    Good luck.
    Don

  • Is it possible to programmatically replace a Sub Report in a crystal report

    We create crystal reports via the crystal report designer (not in any IDE) , and attach the reports directly to the database via stored procedures. Each report contains a page header and a page footer with patient demographic data. We distribute these reports to our customers and they may edit the templates and alter the page header and page footers specific to their needs.
    We are looking at using sub reports to build a "model" page header and page footer that would be inserted into each template at design time. What we would like to do is allow the customers to create their own sup reports to contain their custom page header / page footer and then programmatically replace the " model" sub reports with the custom sub reports. Please note that these sub reports would not contain any data access and would not be linked to the main report, rather the main report would assign the data that is displayed in the page header/page footer data to shared variables,  and the sub reports would use the shared variables as their data source to display the data.
    Is it possible to programmatically replace 1 sub report with another ? If so are there any code snippets to review -

    Yes it is. Submit your post to which ever SDK you are using into the Developer forums. But search the posts first and look in our samples. This is relatively easy to do.
    Thank you
    Don

Maybe you are looking for

  • IMac 27" Target DIsplay Mode + Answer to Windows 7 Boot Camp Install

    First, I'd like to address the handful of complaints I've come across about installing Windows 7 via Boot Camp on the new 27"iMac. The issue of the screen going blank when almost done has an easy albeit annoying answer. Simply connect the iMac to an

  • Problems - WLS 10.0 web service client

    I'm having a few issues with WLS 10.0 web service client.           I generated a service control from the WSDL. The service is provided by a 3rd party (non-WLS) at another company. I generated the control within my web project and it's deployed as p

  • Sending XML to an HTML page in AS3

    I'm working on an a Flex 3 application to generate XML to use in Fusion Charts Free. So that the user can preview the chart, I'm currently sending the XML to an HTML page with runs the chart SWF using navigateToURL with the XML appended to the query

  • Logs flooded with CGSResolveShmemReference when going from 10.5.7 to 10.5.8

    Could someone please explain to me what changed with respect to "CGSResolvShmemReference" between 10.5.7 and 10.5.8. I just upgraded to 10.5.8 earlier today and applied the latest security patch and I'm getting these messages in my logs: CGSResolveSh

  • Mantemiento de bd grandes

    Buen día a todos. Existe documentación en SAP sobre como dar mantenimiento de bd que son muy grandes,  arriba de los 50 y 100 GB para poderlas compactar mediante sql o sapb1 que me permita mantener integridad de la información de mi bd? Agradezco su