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

Similar Messages

  • Cross Tab export : Excel Data Only - Row headings are *bottom* aligned?

    Hi All,
    Having a problem with Crystal 11 / BOXI.
    I have a Cross Tab working fine that has four Row groupings (labels on the left).
    In Preview mode, it looks as expected. Row #1 label appears on line 1. Row #1 label shows blank on line 2,3,4 etc until it is ready to change.
    The organization of the Row group is further made clear by a nice box that spans multiple rows. The Row label appears at the TOP of this box as you might expect.
    In Excel-Data Only format, there is a problem. (I saved, scheduled, and ran on BO XI Enterprise CMC console.) The Excel file shows the Row 1 labels without any box (that's OK as it is "data only") however the text is bottom aligned. So the first label does not appear until the final row of the grouping.
    Same thing is happening with Row 2, 3 groupings, they are all bottom aligned.
    It's confusing for the users who would expect the Row grouping labels to be all top-aligned.
    I have searched the forums and support site and read all technotes. I also tried several things including:
    Format Field for Row#1 Name, choosing Left/Right/Center horizontal alignment (where is the same for vertical??)
    Within BO Enterprise, try combinations of options under Excel - Data Only : export formatting, maintain relative object position, maintain column alignment, use options saved with report, etc.
    Any ideas? Is there a way to force a top-alignment programmatically, for Excel Data Only output?
    Help appreciated !
    Rob McCauley
    Cognex
    Natick, MA 01760 USA

    I found the answer to this question with help from SAP Support.
    In the Cross-Tab Expert, Customize Style tab, click "Column Totals on Top".
    Then, the Excel Data Only report will show the row titles Top-aligned for the row group.

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

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

  • Exporting Cross Tabs to Excel - Data Only

    I have a report with three cross tabs embedded in three report footers (RFa, RFb, RFc).  The third cross tab in RFc, is actually in a subreport.  When I preview the report and then export to excel in Excel Data Only there is no problem.  Howeever, when I export the report (with the same export settings as before) without previewing it first, it truncates the data found in the first and third crosstabs.  Anybody have any ideas on what could be causing this?  I have played with the settings in the export options and have gotten it to export the first and second crosstabs without previewing but the third crosstab is still a problem.
    I thought that Crystal reports would export exactly what is in the report and I do not know why previewing should matter or not?
    Thank you for your help!

    Athalia,
    I tried to recreate the issue using the Xtreme sample database with 3 crosstabs in RFa,b,c with hours of the day as columns. First crosstab has rows for Region, second uses City, and third uses Country.
    All 3 are summarizing Customer Credit ID and the 3rd has the sum of Last Years Sales and count of Address1.
    When I export this I get the correct result whether the report is previewed or not. I am using the exporting options, Maintain Relative Object position, Maintain Column Alignment, and Simplify Page Header
    I would suggest;
    a) Ensure that the 3 crosstabs are left aligned and that the column widths of all 3 are the same
    b) If there are any other sections in the report that are visible try suppressing all but the 3 sections with the crosstabs in them, will it export now?
    c) Try recreating the 3rd crosstab adding just 1 summarized field at a time until it fails and then any formatting that you had done until it fails to try and narrow down what is causing the truncation
    d) Try creating a similar report using the Xtreme sample database to see if you can recreate the issue and if so then document the steps so that I can recreate it.

  • 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

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

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

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

  • 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

  • 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

  • Export Excel Date/Time Format

    I'm using Denes export to excel package and all is working great with the exception of 2 date columns in my report.
    Both columns have the following number/date format:MM-DD-YYYY HH24:MI
    The report itself displays the correct date and time but once I go to export to excel it only displays the date and not the time.
    I've attempted to change the mso_number_format attribute on the stylesheet to: 'mso-number-format:"m\/d\/yy\ h\:mm\ AM\/PM";' but it defaults the time to 12:00am instead of showing the correct time based on the report output.
    Has anyone run into this issue and can you offer up any solutions or help?
    Thank you.

    Zala,
    Just do a little trick like this:
    SELECT   empno, ename, ' '||TO_CHAR (hiredate, 'DD.MM.YY hh24:mi') hiredate,
             mgr, sal, deptno
        FROM empand you will get the dates into excel. The downside of this method is that you loose the
    sorting on your column containing dates. This is an Excel problem rather than ApEx
    problem.
    As soon as I have some time, I will improve the package so it does a seamless export
    into excel including some other functionalities the .csv export has. The existing package
    was a one day work and since I made it available I almost didn't touch it.
    Denes Kubicek
    http://deneskubicek.blogspot.com/
    http://htmldb.oracle.com/pls/otn/f?p=31517:1
    -------------------------------------------------------------------

  • Export table data only

    Hi Gurus,
    I am wondering if anyone can offer some advice in regards to export table data from a source and import it to another system.
    We have a development environment (say, Banner_dev) and a production one (say, Banner_Prod). We routinely perform database refresh from Banner_Prod to Banner_dev, using Oracle Rman cloning. However, the developers are not happy with this approach saying that other things (such as packages, functions, procedures) get overwritten.
    We (DBAs) have been asked to see if we can use export/import approach so that only data within a schema will be exported and imported, leaving other objects untouched in Banner_Dev when we refresh the database from Banner_Prod to Banner_Dev.
    Is this doable with Oracle Data Pump? If it is, how can we accomplish this?
    Thanks!

    You might consider a layered, scripted approach that takes into account the differences between the production and development environments. You might want to take into account things like differences between table DDL, data upgrading, coordinating code and so forth. The ideal is to be able to say "hey everybody, we're going to push this button tonight, be sure your work is saved into this system that will refresh everything."
    Of course, I'm used to doing this with exp/imp because of various app and dba requirements (like, I really don't want to use the same schema name between dev and prod) and the scripts have been refined over time, but there isn't any reason you couldn't have a general post-clone procedure. Describe it in terms that developers see as beneficial to them.

  • Thin white line between line art and live paint fill?

    I am using live paint to paint cartoon character illustrations.  The artwork is brought into Illustrator CS3 and live traced.  Then I convert it to a live paint group and use the paint bucket to fill.  Everything looks fine no matter how much I zoom in.  If I bring the AI file into Photoshop CS6 I can see a thin white line between the black line art and the fill.  This is most noticeable where black meets black. I can also see this sometimes in file previews while browsing through files.  If the white line cannot be seen in Illustrator is the file ok?  I did just upgrade to CS6 if that would make a difference.
    Thank you for any help.    

    If the white line cannot be seen in Illustrator is the file ok?
    Without knowing specifics,nobody knows.
    "Okay" for what?
    If it looks okay to you in Illustrator, then it's okay for viewing in Illustrator.
    If the export of it does not look okay in Photoshop at 1:1 or higher zoom, then it's probably not okay for whatever you're going to do with that raster image.
    If it's printed to a low-res composite printer, then it may be okay, because the printer may not be able to resolve the whitish pixels.
    If it's printed for commercial (color-separated) reproduction, it may not be okay, depending on the scale at which it will be printed, and on other considerations partially described below.
    The autotrace routine does not build traps. Typically, when you color-fill cartoon line art manually, you don't make the shapes that define the fills merely "kiss" the black line work, as would the default treatments of a stupid autotrace. The black line work typically overprints the fills, thereby creating printing traps.
    Suppose a portion of your cartoon is a hand-drawn closed circle. The black line work is irregular; it varies in width, having been drawn with a marker or a brush. The circle is colored in with a medium green. There are no sloppy gaps in the original between the green and the black.
    You scan it and autotrace it. Unless you apply some deliberate care to make it do otherwise, the autotrace is going to create a compound path, filled with black, and with no stroke; and a green simple path which (hopefully) exactly "kisses" (abuts) the black path. Adobe's on-screen antialiasing of the edge where the two colors abut may or may not cause your monitor to display a faint whitish or grayish sliver between the two colors.
    Similarly, Photoshop's rasterization of it, or the rasterization of a raster export filter may do the same, and may actually result in some off-color pixels along the edge. (Your description of the scenario kinda raises the question of why you are auto-tracing something that you're then just going to rasterize in Photoshop anyway. Why do that? Why not just work with the scan in Photoshop?.)
    So let's leave Photoshop out of the picture and assume you are autotracing it because you want vector artwork. You zoom way in to see if the whitish sliver enlarges. It doesn't, so you assume it's just an aberation of Illustrator's on-screen antialising. And then someone tells you you're in the clear. But are you? Not so fast.
    Let's assume the artwork is destined for commercial (color-separated) printing. Further assume the color of the autotraced black is 100% K, and the color of the autotraced green is 100Y 50C. Three inks involved. None of those three inks are shared between the two objects. So even if the paths do, in fact, perfectly abut, there is no "wiggle room" built in for the minor alignment shifts that almost aways do occur on press.
    Bottom line: Even if you do determine that the common antialiasing aberations that frequently occur on-screen in Adobe apps is just that—just an onscreen aberation, that does not necessarily mean your file is suitable for commercial color-separated reproduction.
    First, you need to understand that autotracing is not the one-click, instant "conversion" of a raster image to vector artwork that far too many think it to be. Just like everything else, you don't just launch a program like Illustrator, start autotracing things willy-nilly without understanding what's really going on. Just like anyting else, you can use an autotrace feature intelligently or...well...not.
    You have options. Illustrator provides an auto-trapping feature. Read up on it in the documentation so you understand what it's all about. Alternatively, you can expand the results of your autotrace, select all the black linework and apply a composite color that includes 100% K and reasonable percentages of C, M, and Y (a so-called "rich black"). Or,depending on the artwork and the desired results, you may consider doing the autotrace as centerlines so you have stroked paths, not just filled paths for the linework. That way, using the flood fill (so called LivePaint) will cause the auto-created fill objects to extend to the paths, not just to the edges of their strokes. Then set the linework to overprint.
    At any rate, if you are doing this professionally, you need to read up on the principles and practices of trapping and color separation.
    JET

Maybe you are looking for

  • Re: SAPlicense installation problem on NW04/WAS640/Linux

    Hi Friends, I have installed NW04/linux test drive on fedora linux. After that I try to install saplicense under user nw4adm. But I get following error: SAPLICENSE (Release 640) ERROR *** ERROR: Can not set DbSl trace function DETAILS: DbSlControl(DB

  • Can't print from Iphoto 7.1.2

    When I select a photo and try to print (from file/print) I get an error message: "No available themes. There are no themes located. Until at least one theme has been installed this feature will be unavailable". When I try to print from the icon on th

  • Open Item Management Function

    Hi Experts, We have tried to activate open item management for a particular account which was not open item managed orginally. When we attempt to do the same we are unable to do the same. We have made the balance to Zero for the account. But our comp

  • Certain songs wont play on itunes 9

    i have some songs that will not play on itunes i try to click on them and nothing happens

  • Forawrding to multiple sapusers from workflow

    Hi I have a situation where I have to forward a same mail to differnt sap users to there inbox I have their userid's which I will get dynamically but I have to trigger them through sap work flow. I think I cannot use that sap send mail option in work