Merge columns when exporting to excel data only

Hi,
I have a report with headers in fowling format.
         Quantity         |
first day   |  last day |
When exporting to excel data only I want output in following format and want to merge upper header cells.
Quantity
First Day
Last Day
Please reply.Thanks.

Hi,
You can achieve this requirement Please follow the below document.
How to WYSIWYG SAP Crystal Reports Export to XLS
I hope this is the best formatting example suited for this requirement.
Ludek thanks for preparing this document and sharing with us......This is the best formatting ex.
Refer Link: Crystal Reports Crystal to Excel
Thanks,
DJ

Similar Messages

  • Column headings are mismatched when export to excel (Data Only)

    Hi All,
    We have an old Crystal Web Portal designed using CE10 in VS 2003.   The crystal viewer shipped with VS 2003 exports to excel (Data only) in correct order where all the columns headers are matched with the corresponding data.
    We have re-written the entire new web portal in VS 2008 with using CE10 on windows 2003 server.  Everything works we can view the report, page navigation, export to PDF, export to MS Excel 97-2000.   However when export to MS Excel 97-2000 (Data only) option, the column headings are mismatched with the corresponding data.   I don't understand what changed between VS 2003 Crystal Viewer and VS 2008 Crystal Viewer.   I think this has to be the crystal viewer problem because I'm exporting from the viewer tool bar.
    Here is the API referencing in the code:
    In Visual Studio I'm referencing all CE10 10.0.3300 version api's.  Howerver since Crystal Viewer with VS 2008 is newer and has 10.5.3700 version I'm using CrystalDecision.Shared and CrystalDecision.Web are version 10.5.3700.   These seems to have no problem.  The entire web portal works fine. 
    More about Web Portal:
    -User is validated upon login with CE10
    -use selects the report from the list
    -Report ID is then passed to reportdocument
    -reportdocument API loads the report and
    -Viwer.reportsource= reportdocument.reportsource
    We cannot update Crystal Enterprise 10 right now.   I'm in the middle of deploying new web portal with VS 2008.   I have to resolve the Export excel (Data only) option and have the column headers matched with the data in excel.   I have tried everthing.
    Can some help here.
    thanks

    Hi, 
    The report saves the printer information and if it can connect to the exact same printer then the print options will get passed to the printer. 
    If the report is being sent to a different printer, Crystal doesn't know if this new printer will support the same settings, ie. duplex or color.  In our case we were setting the report to print duplex printing and landscape.  When our application went to print it actually crashed because some of the printers didn't support duplex. 
    What we did is disable the print button on the viewer and added the PrintDialog control to our form.  Use the ReportDocument.PrintOptions method to set the properties for the PrintDialog control. 
    var printDialog1 = new PrintDialog();
    printDialog1.UseEXDialog = true;
    printDialog1.AllowSomePages = true;
    if (myLink.Parent.SavedPrinterSettings != null)
         printDialog1.PrinterSettings = myLink.Parent.SavedPrinterSettings; //Use any saved printer settigns
         printDialog1.PrinterSettings.Copies = Convert.ToInt16(copies);
         dr = printDialog1.ShowDialog();
         if (dr == DialogResult.OK)
         myLink.Parent.SavedPrinterSettings = printDialog1.PrinterSettings;     //Save the latest printer settings
         nCopy = printDialog1.PrinterSettings.Copies;               //Get the number of Copies
         sPage = printDialog1.PrinterSettings.FromPage;               //Get the number of Start Page
         ePage = printDialog1.PrinterSettings.ToPage;                    //Get the number of End Page
         myReport.PrintOptions.PrinterName = printDialog1.PrinterSettings.PrinterName;     //Get the printer name
         myReport.PrintOptions.CustomPaperSource = printDialog1.PrinterSettings.DefaultPageSettings.PaperSource;
         if (printDialog1.PrinterSettings.Duplex == System.Drawing.Printing.Duplex.Vertical)
              myReport.PrintOptions.PrinterDuplex = PrinterDuplex.Vertical;
         else if (printDialog1.PrinterSettings.Duplex == System.Drawing.Printing.Duplex.Horizontal)
              myReport.PrintOptions.PrinterDuplex = PrinterDuplex.Horizontal;
         else if (printDialog1.PrinterSettings.Duplex == System.Drawing.Printing.Duplex.Simplex)
              myReport.PrintOptions.PrinterDuplex = PrinterDuplex.Simplex;
    Hope this helps,
    Brian

  • Cross Tab Grand Total Out Of Line When Exporting to Excel Data Only

    Does anyone have a solution to this issue:
    Setting up a cross tab report with a grand-total field at the end of it and exporting to Excel Data Only format, moves the grand total values one column to the right of where the should be.
    eg:
    Company    Month    Revenue    Total
    Acme       200710   1000.00    1000.00
    Indigo     200710   2000.00    2000.00
    Total                          3000.00   3000.00
    Thanx for any input - looks better in fixed font.
    the 2nd 3000.00 appears to the right of the Total column and not under it

    Post Author: swat
    CA Forum: Exporting
    Hi,
    Of what i gather from ur scenario...this is what i did in one of my reports.
    I had to use two subreports and they had to occupy one cell each, in line with other fields.
    To obtain that,all the fields required in the subreport i put them into a text box.Therein restricting the fields to the txt box only...
    Then import that sub-report as it is.
    It worked for me....
    try out...
    All this only if've understood u right...

  • Column Headers are Jumbled when exporting to 'Excel Data only'

    Hi,
    When I am exporting a report to 'Excel Data only' the column headers are jumbled in the output,where as the data field are exported in the same order as it is in the report .
    They are being exported as
    Header:F3   F2    F1
    Detail   :F1   F2    F3
    Instead of
    Header:F1   F2    F3
    Detail   :F1   F2    F3
    Is there a way I can over come this issue.

    Can you explain how exactly the report was designed? Is it happening for every report or only for this report?
    Regards,
    Raghavendra

  • Column Header in 2 rows in report file but export to excel data only displays only bottom row of column header

    Post Author: blofrese
    CA Forum: Exporting
    I am using Crystal XI and need to output several columns worth of data. Do to so I attempted to have the data presented in 2 rows within the same section.
    Example:Page Header b contains:  7 columns  5 columns
    Details a contains:  7 columns  5 columns
    When exporting to excel data only I only see the bottom 5 column header info and all the detail data in the correct order. How do I get all the Headers to display on the export file?
    Thank you for your time.

    Post Author: jw1234
    CA Forum: Exporting
    I have the same problem. Have you find the solution yet??
    I'm trying to export as Excel data only and have 2 page header band. It only display the 2nd band with the bottom label. None of the 1st band shows up. 
    Page Header a contains:Report TitleDate Range
    Page Header b contains:Dept Name4 columns
    Please help. Thanks!

  • Exporting to Excel data only using sub reports in Crytal 9

    Post Author: pmstar
    CA Forum: Exporting
    I am using Crystal 9 verision.
    I have .rpt file that used 4 sub reports .In the main report I placed all the sub reports in the(detail section) row  and using the data for some caluculation in the main report to generate report fields.I placed the main report fields in next row( in detail section).However when i export the report .Its generating 5 empty rows  and 3 rows with 0. I have pretty much followed the solution from the article "c2017620" published in BO.
    Since i used the sub reports only to get some value for main report calculations .Is there any workaround for the following issue
    1.I do not want to print the subreport data when exported to excel data only.
    2.how can i get rid of the blank rows
    We have a lot of reports which has the same issue and we need to get the reports to work in Excel Data only .The reports works perfect when used in PDF format but its mandatory that we need to give the reports to the client using Data only.
    If possible, when responding with your recommendations, please include detailed steps.  It would be very helpful.Thanks in advance,
    PM

    Post Author: swat
    CA Forum: Exporting
    Hi,
    Of what i gather from ur scenario...this is what i did in one of my reports.
    I had to use two subreports and they had to occupy one cell each, in line with other fields.
    To obtain that,all the fields required in the subreport i put them into a text box.Therein restricting the fields to the txt box only...
    Then import that sub-report as it is.
    It worked for me....
    try out...
    All this only if've understood u right...

  • Scheduled Report: Export to Excel (Data Only) Fails

    I have an issue with a new installation of Crystal Reports Server 2008. When I try to schedule a report for extract to Excel (Data Only) the report fails with the following error:
    Error in File ~tmp202064233ce6330.rpt: Operation not yet implemented.
    We have scheduled the report using Word, PDF, text and they all work however the Excel (Data Only) format fails everytime with this error.
    I have no problem opening the report in Crystal Reports 2008 and Exporting to Excel Data Only format manually.
    Thanks in advance!
    Lee

    Hi,
    i just saw a note about the same Problem for BOE XI Rel.2. There it is a Bug.
    I would recommend you install the latest SP for your CRS and try again.
    Regards
    -Seb.

  • Missing report headers when exporting to XLS Data Only

    Hello all,
    I searched for this topic and was unable to find a similar one!
    I have a report that's very long.. (Page Setup:User Defined)
    When I export to Excel Data Only, with option of: Custom: Data is exported according to selected options, the output shows some headers only and skips many.
    I tried going into Design view and putting grids around each feild so that they don't overlap.
    How can I fix this issue?
    Thanks,

    Go to FILE->Export->Report Export Options then select Excel Data Only option from the Format drop down window then press ok.
    Check page headers and footer check box and press ok.
    This should set the options to export report header and footers.
    Hope this helps!
    Achett13

  • Megge column when export to excel

    User is requesting Excel column header to split for infoobjects that are displaying key & text. See attachment showing the column header splitting.
    (Currently all key & text headers merge when exported into Excel apart from last object in row.

    Hi,
    this is not posibble. You can switch on the parameter REPEATED_TEXTS_DISPLAYED at the Analysis Item, but this only repeats the characteristic values, not the headers.
    The export to Excel shows the same as you see in the Analysis Item in Web.
    best regards
    ARNE

  • Lost collapsing columns when export to excel

    I have created a report with row grouping, works correctly working in Report Server Browser, 
    after export the report to excel, when clicking on the + in Excel only 1 or 2 of about 100 lines appears, or there is no + head to click for other groups
    a similar report works when exported to excel.
    any solution what to do or whats possibly wrong?
    thank you

    Hi Karl,
    According to your description that you are experiencing the issue when you export the report to excel, drill down report not display all the fields after expand the "+"and some group which should have "+" not shown, right?
    I have tested on my local environment and can’t reproduce the issue, the issue can be caused by the incorrect setting of the visibility and also can be related to the excel rendering.
    Microsoft Excel has limitations with how it manages hidden and displayed report items when they are exported. Groups, rows, and columns that contain report items that can be toggled are rendered as Excel outlines. Excel creates outlines that expand and collapse
    rows and columns across the entire row or column which can cause the collapse of report items that are not intended to be collapsed. In addition, Excel's outlining symbols can become cluttered with overlapping outlines. To address these issues, the following
    outlining rules are applied when using the Excel rendering extension:
    The report item in the top-left corner that can be toggled can continue to be toggled in Excel. Report items that can be toggled and share vertical or horizontal space with the report item that can be toggled in the top-left corner cannot be toggled in
    Excel.
    To determine whether a data region will be collapsible by rows or columns, the position of the report item that controls the toggling and the position of the report item that is toggled are determined. If the item controlling the toggling appears before
    the item to be toggled, the item is collapsible by rows. Otherwise, the item is collapsible by columns. If the item controlling the toggling appears beside and above the area to be toggled equally, the item is rendered with row collapsible by rows.
    To determine where the subtotals are placed in the rendered report, the rendering extension examines the first instance of a dynamic member. If a peer static member appears immediately above it, the dynamic member is assumed to be the subtotals. Outlines
    are set to indicate that this is summary data. If there are no static siblings of a dynamic member, the first instance of the instance is the subtotal.
    Due to an Excel limitation, outlines can be nested up to 7 levels only.
    Article about the show and hide in the excel for your reference:
    http://msdn.microsoft.com/en-us/library/dd255234.aspx
    Thanks for your understanding.
    Regards
    Vicky Liu

  • Export report Excel-Data Only works not,'not enough memory for operation'

    Hi all,
    we are using in our Software CrystalReport Version 11 Service Pack 5. Crystal report is intergated for .NET. We can not uninstall CrystalReport Version 11 Service Pack 5 to install another Version or another Service Pack.
    We are haveing problems to export report as Excel 97-2000 Data Only, "not enough memory for operation" message pop up after you try to export report as Excel data Only.
    Export Report as PDF is working fine.
    This problems are on Windows XP Sp3 and Vista. On Windows 7 we have no problem.
    Please, can somebody help me solving this problem, or to finde a workaround for Windows XP. Memory from PC is not the problem.
    Mit freundlichen Grüßen / Kind regards
    Odisej Nujiq

    Odisej, unfortunately, processes such as remote sessions are reserved for phone cases only. You can create a phone case here;
    http://store.businessobjects.com/store/bobjamer/en_US/pd/productID.98078100?resid=S6I@hgoHAkEAAGsiyVkAAAAR&rests=1282226845369
    Also, just as an FYI, see the blog [What are these 'support' forums good for anyhow?|/people/ludek.uher/blog/2011/04/07/what-are-these-support-forums-good-for-anyhow]
    Without phone support, you are left to do most of the foot work your self. On the forums, we can provide suggestions and guidance, but that is about it.
    Couple of things to note though. If you do create a phone case, one of the 1st things that you will be asked is to update your app to SP6 - unless you can prove the same issue exists with SP6 (see more bellow).
    Something I would recommend you try is to take an XP box, install SP6 on it, then install your app on it. If this works, your options are highly limited. E.g.; SP6...
    One other utility that may be worthwhile to use is [Process Monitor|http://technet.microsoft.com/en-ca/sysinternals/bb896645.aspx]. Run that on the XP box. In the logs, look for "Access Denied" error messages. Look for load or other issues with crxf_xls.dll, exportmodeller.dll and crtslv.dll.
    From your responses I am still not sure if you actually did run Modules and compared the results. This is much, much easier to do than working with ProcMon and I'd start there. To summarize, my troubleshooting plan (irrespective of the limits imposed on you) would be:
    1) Use Modules as this is the easiest thing you can do
    2) Try this with SP6 - more work that (1) above, but at least you are on the latest. If this works, banging your head into an SP5 wall will do you no good (like I said, irrespective of what ever limits...)
    3) Use ProcMon - not too difficult, but time consuming as you will be looking over 100s, possibly 1000s of lines and not being familiar with details of CR, this will take time.
    - Ludek

  • Cannot Maintain Columns when exporting to Excel

    I am trying to export a device report from PDF to Excel however the columns all show up but the information is not placed accurately as to each column.

    You either need the Acrobat Forum or the ExportPDF Forum, where people who use the correct software can help. You CANNOT export using Reader alone.

  • Export to PDF, Excel, Excel (Data Only) formatting issues

    Hi Community
    I have a report that consists of 5 subreports. Out of the 5 subreports, 3 of them have a similar format whereas the other 2 are different.
    Iu2019m currently facing an issue whereby the exports to excel works fine, but excel (data only) has some alignment issues(i.e. the data appears below the correct columns). However, when the report is tweaked to make export to excel (data only) appear correctly, the export to excel had its data shifted out of alignment. There is no impact to pdf exporting at the moment.
    Are there any people who are facing similar issues? Is there any resolution or workaround? I appreciate any help. Thanks.
    FYI, the version of crystal reports is Crystal reports is Crystal reports 2008 and we are using the crystal report viewer interface to export into excel and pdf formats. The excel version is 2007.
    Regards

    DW, i've also run into issues with multiple sub reports. I resolved it by putting each sub report into it's own section, and then suppressing the sub report (Note, if ur trying to export subreport data to excel, I don't think its going to work. You'd need to create shared variables and then bring those sub report shared variables into your main report).
    Once you bring your shared variables into the main report, suppress your sub reports, and then export to excel, you're still left with a dataset that has missing rows. This is ok. You can solve it easily within the excel file itself by sorting the data on a unique ID like Account #. This removes the extra rows.
    Not the most elegant solution, but it works.

  • Export Excel Data only causes blank line between 2 lines of records

    Hi,
    I wrote a complete winform application using CR2008.
    For information :
    C# Framework 3.5
    Windows XP SP2 or Windows Server 2003 SP1
    CR2008 SP1
    Application allow to preview report. In the preview window (CR activx) there is a "letter icon" to export report in several format.
    -RPT
    -PDF
    -DOC
    -XSL
    -XSL Data only
    When I export with "Excel Data only" format, I always have a blank line between 2 lines of records in Excel.
    Is there a way to supress them from VS2008 ?
    Thanks a lot for your reply,

    Hello, Jonik;
    Do you see the same blank lines when you export to Excel Data only in the Crystal Reports designer?
    Elaine

  • Repeated column headers in Crosstab report when exported to Excel

    I have created a Cross tab report and wanted to export it in the format "Microsoft Excel(97-2003) (*.xls)", as the formatting of the report is lost in Excel  Data Only format. But when I export the data the column headers are repeated in the Excel. Is there any solution to avoid repeated column headers without losing the formatting of layout?

    I suppose one answer we should have before anything else;
    Does the export work from the CR designer?
    You may also want to see the following:
    How to WYSIWYG SAP Crystal Reports Export to XLS
    - Ludek
    Senior Support Engineer AGS Product Support, Global Support Center Canada
    Follow us on Twitter

Maybe you are looking for