Export to Excel is formatted differently since we upgraded to XI release 2

Hi,
For many of our reports were using the Crystal Reports that came embedded VisualStudio2002. Recently, some of our developers needed to upgrade their laptops to Crystal Reports XI release 2. This forced us to install the Crystal 11.5 redistributable on our web servers, so those developers would be able to run their new reports.
However, now we are noticing problems with the export-to-excel feature on some of our OLD reports. Even though we have not change/touched the OLD reports at all, the export to excel feature is acting differently.  I strongly suspect it has something to do with the 11.5 redistributable I installed on the servers.
Specifically, these are the things we noticed missing on our old reports...
1. Previously, the export-to-excel would mimic the page breaks we setup in the rpt file. Now it does not. The page breaks seem random in the Excel export.  If I export the report to PDF the page breaks seem fine (i.e. exactly how I set them up in the rpt file).
2. Previously, the page header section would repeat within every page of the Excel document (that is how we wanted it). Now it does not. The page header only shows up once, but then does not repeat anymore.
Previously, we did not have to set any of the format options in the report, and it worked fine. To try and resolve the problems I have now tried these settings (C#):
ExcelFormatOptions efo = new ExcelFormatOptions();
efo.ExportPageBreaksForEachPage =true;
efo.ExportPageHeadersAndFooters = ExportPageAreaKind.OnEachPage;
Those format changes did not help at all.  Does anyone know how to get my page breaks back?
thanks, --Rick

Hi Rick,
The version of CR included in .NET 2002 was version 9. There have been a lot of changes done to our exporting dll's since then that cleaned up how CR exported. You won't be able to fix this using code, it is due to your objects in the page layout that is causing the changes.
There is a Document that the Report Design team has that is "Best Practices" when laying out reports for exporting so I am transferring this posting to the Report Design Forums to help you with "fixing up" your reports. If you still have issues when previewing/printing/exporting through your application they can transfer this post back.
Thank you
Don

Similar Messages

  • Export to excel with formatting was autowrapping text in a cell

    Export to excel with formatting was autowrapping text in a cell without having to check the can grow option.  When the can grow option is checked it does wrap the text however it spans multiple rows, which causes complications when trying to sort. 
    It worked in:
    ProductVersion=10.0.0.533
    ProductName=Crystal Enterprise 10 Embedded
    Doesnt work in:
    Crystal Reports 10.0 Service Pack 6
    After the upgrade the reports did not autowrap, b/c the "can grow" option was not checked.  I believe this was fixed by "ADAPT00305137 Patch ID: 36479914
    Description:
    When users export to Excel 97-2000 with the page-based format, text fields are wrapped, even when the "can grow" feature in the
    Designer is turned off." .   After we turn the option to grow on it does wrap however it spans across multiple rows.  So I guess my question is there a way for it not to span multiple rows when wrapping text?
    Edited by: dforde on Jan 27, 2010 11:12 PM

    I could be wrong, but I believe the export to excel option exports the database values, and the export to HTML exports the values seen in the sheets. If the database values are stored as seconds, the Excel will see them as seconds, and the data will have to be formatted properly in Excel.
    I haven't toyed around with Excel exports that much, but it might be possible to set up a template or macro in excel that would have the proper formatting, and use it when opening the Disco export.

  • Export to excel loses formatting

    I have a region whose source is a SQL query.
    My SQL query contains function calls that return a value.
    source of the region:
    select nvl(GETSRHR(:P253_STARTDATE,:P253_ENDDATE),0) as "REQUESTS",
    nvl(GETTBHR(:P253_STARTDATE,:P253_ENDDATE),0) as "BENEFITS",
    nvl(GETTOTALHRS(:P253_STARTDATE,:P253_ENDDATE),0) as "TOTALS"
    from dual
    Report template chosen is: default vertical report look 1 (include null columns)
    when I run the page the report looks as follows:
    REQUESTS 20
    BENEFITS 120
    TOTALS 140
    When I export this it looks like:
    REQUESTS     BENEFITS     TOTALS
    20          120          140
    Why is the formatting lost when I export to Excel? am I missing a step somewhere?
    thanks for the feedback

    The CSV/Excel export always exports your data horizontally. Similar to what you would get if you were running this in SQL Plus. The vertical look report template only applies to the report when shown in your web page. The template selection has now affect on the structure of the CSV export. If you need to export your data in a different way, one way to implement this would be to write a PL/SQL region or process that stores the data in that format first, e.g. in another table or using HTML DB collections and then write a report that is based on that temporary storage.
    Regards,
    Marc

  • Export to excel - number format

    Hi,
    Our version is SAP ERP Central Component 5.0 and we have just pathed the system from SPS18 to SPS23.
    However from that time has change the export to excel functionality. Now after you select List - Export - Spreadsheet you can select either Excel (in Mhtml format) or All available formats - here the same format as in the old version has option 'Microsoft Excel (In existing XXL format). However when the report is exported eg account numbers do not have the correct format. So you need to convert them first to the correct number format with function VALUE in Excel.
    Can this be somehow fixed?
    Thanks,
    Honza

    Hi,
    Dots and commas is not the issue.
    The issue is that eg doment numbers are in the format in which you cannot vlookup them with other files where document numbers are in number format. So you need first to convert them using excel function value(). And then they have the correct format.
    I am 100% sure there was not the same problem before we installed the higher patch.
    Jan

  • Hyperion IR 11 -Export to Excel with formatting

    Hi,
    we have problem in exporting pivot sections to excel with the format intact.
    Is there really an option in Hyperion IR 11, to use this as such?
    I have a script that creates excel, by creating a MHTML And converting it to excel.
    But I need to know other options as well.
    Thanks in advance.

    Hi~
    I get the same question.
    I export pivot sections to excel with the format intact, but it did not work.
    When export pivot sections to excel can not with the format intact
    My script below:
    ActiveDocument.Sections["sectionname"].Export('C:\\test.xls',bqExportFormatOfficeMHTML,true,true);
    What is it wrong? Thanks~

  • How to export to excel and format and send email?

    Hi all,
    I have an sql query that i need to run daily. My question is: how can i create a procedure to export the query result to an excel file with font Arial size 9 with all columns streched for best fit and also sent-it via email with subject and email text to an email address?
    Thanks in advance for your help.
    PS: if possible please provide examples :)

    I didnt use the .bat file.
    file1.sql
    SET ECHO OFF
    SET TERMOUT OFF
    SET FEEDBACK OFF
    SET TIMING OFF
    SET PAUSE OFF
    SET PAGESIZE 0
    SET LINESIZE 255
    SET HEAD OFF
    SET TRIMSPOOL ON
    spool c:\file1.xls
    set feed off markup html on spool on
    your Sql Goes here or @@file2.sql
    set markup html off spool off
    quit;
    you'll get file.xls
    Here's how it executed.
    SQL> SET ECHO OFF
    SQL> SET TERMOUT OFF
    SQL> SET FEEDBACK OFF
    SQL> SET TIMING OFF
    SQL> SET PAUSE OFF
    SQL> SET PAGESIZE 0
    SQL> SET LINESIZE 255
    SQL> SET HEAD OFF
    SQL> SET TRIMSPOOL ON
    SQL> spool c:\file2.xls
    SQL> set feed off markup html on spool on
    SQL> select table_name,last_analyzed from user_tables;
    <br>
    <p>
    <table border="1" width="90%">
    <tr>
    <td>
    CDR2_TEMP
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td>
    CDR2_TEMP2
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td>
    DBA_LOCKS_TEMP
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td>
    LOCK_HOLDERS
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td>
    OLTP_STATS
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td>
    SESSION_KILL_INFO
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td>
    EMP_CLONE
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td>
    QUERY_CLONE
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td>
    ASSET_ID
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td>
    ADDR_CLONE
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td>
    CLONE
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td>
    REQUEST_CLONE
    </td>
    <td>
    27-MAY-08
    </td>
    </tr>
    <tr>
    <td>
    T1
    </td>
    <td>
    </td>
    </tr>
    <tr>
    <td>
    TEMP_ACC_POL
    </td>
    <td>
    </td>
    </tr>
    </table>
    <p>
    SQL&gt;

  • Export to Excel alignment off after Windows 2003 upgrade

    Hi All,
    I have an application that uses Crystal Reports 10(sp6) and VB6 that has worked fine for a few years and now that I have upgraded the server to Windows 2003 the alignment of the excel output is off.  All pages (45 of them) get printed on their own row in the output xls file.  The report gets filled in during the execution of the VB6 executable and then gets exported to PDF and then to excel.  PDF is fine but the excel output is unacceptable.  I've been playing with the different exportoptions and cannot seem to get the alignment I need.  Basically we need the rows and columns to align.
    In further testing I have exported the report with data (our original rpt file is just a shell that we fill in with data) to a crystal reports file.  I then have taken this report through the Crystal Reports 10 IDE and was able to export it and the output looks exactly like I need it to.  So I'm sure there is settings to accomplish the output.
    This is the original code:
    With My_Crystal_Report
        .ExportOptions.Reset
        .ExportOptions.FormatType = crEFTExcelDataOnly
        .ExportOptions.ExcelMaintainColumnAlignment = False
        .ExportOptions.ExcelUseFormatInDataOnly = True
        .ExportOptions.ExcelConstantColumnWidth = CDbl(800)
        .ExportOptions.DestinationType = crEDTDiskFile
        .ExportOptions.DiskFileName = filePath & ".xls"
        .Export (False)
    End With
    Here are the settings when I run the report through the Crystal Reports 10 IDE:
    - Custom: Data is exported according to selected options
    - Constant column width (in points): 36.0
    - Export object formatting
    - Maintain relative object position
    - Maintain column alignment
    One thing I was wondering is that there are different versions of Visual Studio including VS2008 and I was wondering if the Crystal Reports that gets installed with them could be interfering.
    Any help would be greatly appreciated.  Is there a setting that I'm missing in the code, registry, etc.
    Thanks in advance,
    Jim

    Hi,
    The only other difference I found as far as I could see was the following two files:
    CRXF_XLS.dll
    CRXF_XLS_RES_EN.dll
    Once loaded into the bin directory they are no longer a difference but output is still the same.
    There are other differences as far as Only In CRW32.EXE (only Crystal Reports differences by description)
    CRXF_HTML.DLL  10.0.5.75
    CRXF_HTML_RES_EN.DLL  10.0.5.75
    CRXF_RTF.DLL  10.0.5.604
    CRXF_RTF_RES_EN.DLL  10.0.5.604
    CRXF_WORDW.DLL  10.0.5.604
    CRXF_WORDW_RES_EN.DLL  10.0.5.604
    U2FCR.DLL  10.0.0.552
    U2FTEXT.DLL  10.0.5.604
    X3FCREN.DLL  10.0.0.552
    X3FTXEN.DLL  10.0.5.603
    Do you think that a possible way to fix this would be to I uninstall Crystal Reports and reinstall without the sp6 and then find out which sp was installed on current windows 2000 server and install that and see what I receive for output?
    I have been spending way to much time on this and really need to bring the customer in so that they know we have this level of an issue.  Do you also think maybe we should open a ticket? I don't know if this is feasible as you mentioned there is no support for Crystal Reports 10.
    Thanks,
    Jim

  • 2013 versus 2010 - Export to Excel

    Hi,
    When exporting a view from Project Server 2013 Project Center to Excel, it seems to export without any formatting (no colours, etc).
    It only exports rudimentary formatting such as the indenting.
    This seems to be different than it used to be.
    Does anyone know if this is expected  behaviour?  Or is there something wrong in our config?  The configuration was upgraded from 2007 - 2010 - 2013.
    thanks,
    http://blogs.umtsa.co.za/nicoo

    Hi Nico,<o:p></o:p>
    I can reproduce the same behaviour in Project Server 2013 environment. The export is without any
    formatting (no colors etc.). Your environment configuration looks precise.<o:p></o:p>
    I have found related thread to your query. Here is the link you may find useful – <o:p></o:p>
    http://social.technet.microsoft.com/Forums/projectserver/en-US/85c8331f-85b9-4e34-9e27-612ffda0b7d4/project-server-2010-project-center-views-export-to-excel-with-formatting?forum=projectserver2010general<o:p></o:p>
    Cheers, Badal

  • Export to Excel Issues

    We just upgraded from Crystal 8.5 to Crystal 10.  When we export to Excel, the formatting is terrible.  We have close to 100 reports that we routinely export...some with 40,000 rows.  To try to fix these once they're in Excel is out of the question.
    In previous threads I've been reading about a "patch" that supposedly fixes this.  Where can I download this?
    Eric Hill

    The way reports work and export changed significantly in CR 9. While there was a dll available to help move from CR 8.x to CR 9, that dll is no longer available. Not for CR 9, nor any other versions of CR. Instead, you will have to modify your reports as per the article [Crystal Reports Designer Version 10 Exporting to Microsoft Excel|http://www.sdn.sap.com/irj/boc/go/portal/prtroot/docs/library/uuid/10d3ba69-951e-2b10-3093-e3cf287a57c9?quicklink=index&overridelayout=true].
    No other work-arounds or options exist at this time.
    Ludek
    Follow us on Twitter http://twitter.com/SAPCRNetSup

  • Export to Excel for multiple dataproviders in WAD

    Hello Guys,
    I need a quick note on the requirement. Is there any possible solution to get data from different data providers used in WAD exported into one excel sheet.
    The backend is 2004s but WAD used is 3.5.
    Actual scenario is there are 8 different data providers in WAD with a different query assigned to each data provider. Right now 8 different buttons are provided for Export to Excel for 8 different data providers.
    This works fine bringing data in 8 different excel sheet. But users feel this is very annoying task and they need data from all 8 data providers in one single excel sheet.
    So is there any way to achieve this. I have assumed this to be a long associated problem with 3.5 WAD but i thought there might be a way around.
    Please help me with a solution or either your view on this.
    Regards,
    Shashank

    Shashank,
    This is an oft repeated requirement ... but then export to excel is dataprovider specific and in WAD each dataprovider corresponds to a single table and getting all the data together is not possible .... but then there might be some other work around - you can check the forums for the same where options for the same have been discussed.

  • Longer running export to Excel after BW7.3 upgrade & HANA migration

    Experts -- I'm curious if anyone has encountered issues with longer running exports to excel from Web Analyzer after they upgraded to BW 7.3 and/or migrated to BW HANA?
    We have encountered a very elusive issue with our users running into this issue where the export either hangs or returns a series of error messages.   OSS has not been of help as the issue is unable to be consistently reproduced.
    If you have any thoughts or ideas please feel free to contribute.
    Thanks
    Justin

    Hey Sebastien -  Thank you for the response.  I work with Justin and can provide the additional information here:
    By export what we mean is that users running BEx reports from our web portal are clicking on the 'Export to Excel' button and it is taking an extremely long time.  This is happening even when the report result set is relatively small.   We never had any issue prior to the upgrade.
    There have been a few error messages reported, but this "Open Dialog" error is the most frequent.
    We are very familiar with the 500,000 cell limit and these error are taking place on report output well below that limitation. 
    These reports do not use hierarchies. 
    Prior to 7.3 we were using  7.0 EP1  SP7
    We appreciate any help or suggestions. 
    Thank you

  • Formatting lost when exported to excel

    When I export a worksheet results to excel the formatting is being lost like in my worksheet I wanted a line and space for every grouped item which is lost in excel sheet. Is there a way get around for this ?
    Thanks

    Not exactly sure what formatting you're having a problem with, but I'll list some of the points I can think of, of exporting to Excel and will hopefully cover it. I believe you may be referring to point 1 below, but just in case ...
    1. If you have group sort on for a column or more, then when exported to Excel, you won't have those 'blank' values for the column(s) that's grouped. That's why when you know someone will be exporting to Excel, it's a pain as all group sorts are usually taken back off (which can screw up exactly what you're trying to point out in the workbook).
    2. If you have a page -> item (ie: lots of values you pull down like a LOV), then I believe, that you won't get an Excel worksheet for each value in the LOV but only for the one currently displayed when you performed the File -> Export.
    3. When you export to Excel, you only get actual values, no functions of how it was calculated (ie: it'll be static, not dynamic).
    4. You can export to Excel using Plus and might not get the formatting characteristics you want in Excel. I've seen users specifically bring up Viewer just to get the formatting characteristics (colors, fonts, etc.) when they export from that Disco version.
    5. Sometimes when you export from Disco to Excel, that actual value that gets posted in Excel is different. I know ... it sounds wierd, but it's a fact. The problem is NOT Disco, but is a problem with Windows and a setting has to be altered (although I'd have to hunt what that setting is now though). However, I've only seen this happen a few times, so definitely not the norm.
    Russ

  • Formatting numbers currency export to excel

    All
    I have the following SQL in my code.
    select trader, tradername, billingranacc,BILLINGPREFRANACC,LASTLOGINDATE, '€' ||to_char(billingamount,'99G999D99') Amount,substr(BILLINGPREFRANACC,1,1) as "R&NLocation"  from exlink_trader_import where usertype = 'Internal' and isbilled = 'Yes' and isdeleted = '0'Now the report picks up the € sign but when i export to excel it does not, can someone help with this ?

    Hi stranger colleague Ben
    The CSV codification is one but not the one issue that can affect the unexpected output of your report.
    But if you are viewing correctly the € symbol in your report, and the automatic CSV codification is enabled, sure you are in the usual case that makes more difficult the work of foreign developers and DBAs.
    Time before I resolved the wrong CSV output (“â‚ 600.00”) instead of the correct (“$ 600.00”) simply turning ON the automatic codification, but only after being managed many NLS parameters, and database character sets. We have different currency, keyboards, measure units than Americans, and have to read more chapters in documentation books. This is more pain if you are far to domain the English language!.
    Ben: you are getting the wrong output using the “ '€' || to_char (billingamount, '99G999D99')” format in the query, Have you checked using “billingamount” in the query, and defining the FML99G999D99 or FMU99G999D99 format in the report column numeric attribute?, You should seen the correct € output in the CSV file although you haven’t defined the automatic codification.

  • Export to excel formatting

    I'm working on a quote report which has narrative sections as well as a table. I can get the report to look great in the application but it has formatting problems once exported to excel.
    In one of my narrative reports I have a simple table with a few columns. Once exported to excel the first narrative column is the entire width of the report table below it. The large cell row is also merged cells in excel.
    Is there anything that can be done to help force how the report goes into excel?
    I have also tried creating the report in a narrative html table to export into excel.

    Can someone explain if they face similar issues as I am when you export a report output on portal to Excel it takes huge size. I assume it because of all the color formatting etc. but is there a way to reduce this size. 3.5 Bex Analyzer same report takes only 3 MB while if I export it from portals it takes 32 MB.

  • SSRS 2012 Conditional Formatting Color Issues When Exporting to Excel

    Hi all,
    We recently upgraded to SQL 2012 from SQL2008 R2. I'm having a strange issue with SSRS2012.
    One of the report has conditional formattings on cell background colors. Everything works fine when render the report in browser or preview mode. However, the conditional formatting stop working when export the report to Excel (no issues if
    export to pdf). All cells are high-lightened with pre-defined color although it should only high-lighten those cells that fulfil the condition.
    Has someone encountered this issue before ? Thanks for any help.

    Hi ZZ02,
    I have test the scenario in my testing environment, however, everything goes well when exporting to Excel format. The issue might be related to the expression for the conditional background color. To make further analysis, please post the expression as well
    as the report design structure.
    Additionally, in SQL Server 2012 Reporting Services, the Excel rendering extension renders a report to the native format of Microsoft Excel 2007-2010, the format of which is ExcelOpenXML. By default, the previous version of the Excel rendering extension,
    compatible with Microsoft Excel 2003, is disabled. At this time, I suggest that you enable the Excel 2003 rendering extension by modifying the RSReportServer.config file. After that, the Excel 2003 rendering format will be available on report manager (not
    available in Report Designer). So, please export the report from report manager and check the result again.
    For more information about enable the Excel 2003 rendering extension, please see:
    http://social.msdn.microsoft.com/Forums/en/sqlreportingservices/thread/0713de27-dcc0-4e51-81ac-5272647d171f
    Regards,
    Mike Yin
    TechNet Subscriber Support
    If you are
    TechNet Subscription user and have any feedback on our support quality, please send your feedback
    here. 
    Mike Yin
    TechNet Community Support

Maybe you are looking for

  • External video display switching

    I thought I had sent a mesage to this forum, but it failed to show up. If a duplicate, I apologize. I have an old X61s running Debian Sid and now want to use it to drive an external projector. However, the Fn+F7 key combination does not cycle between

  • ICWC Error when launching transaction

    Hello all, Working with CRM 5.0, in interaction center web client I want to launch the CRM 'BP' transaction from navigation bar. I have configured Transaction Launcher and also Navigation Bar Profile. But still when I click on the link at the left ha

  • GPO Disk space to use (8-1024 MB) for Temporary Internet Files and History Settings

    I am trying to create a GPO that will allow me to specify 1024 (MB) for Disk space to use to go to IE, the General Tab, Settings, In the box below there is a box fo Disk space to use.  There is a GPO for this under... User configuration, windows sett

  • [BC4J-bug] obsolete import statements remain behind in AM source file

    Just wondering if the following problem is a known bug or not: I've got an application module called 'AMExample' and it consists of 2 files: AMExample.xml and AMExampleImpl.java. When I remove a view from this module, the corresponding import stateme

  • No measures shown

    Hi, Currently working with a currency conversion problem on a cube. Now I have it working in a demo situation but now I'm building this in a customer solution. The problem is that the Measures is empty when nothing is selected.....This happens with a