Solved

How do I force a line feed when I export data to Excel?

Posted on 2006-11-17
4
201 Views
Last Modified: 2008-02-01
Hello,

I have created a report with Crystal Reports XI.  The report compares the records from two different sources.  The report displays internal record detail on the first line of detail, external records detail on the second line and if any column of detail does not match the word 'Error' is displayed on the thrid line.  All three lines are in the Details section.  The problem comes when I export the data to Excel.  Instead of producing three lines of detail in the worksheet, it creates one line of detail with all the three lines concatenated after each other.  How do I force Excel to perform a line feed to match my output in CR?
0
Comment
Question by:BrianMack
  • 2
4 Comments
 
LVL 100

Expert Comment

by:mlmcc
ID: 17969154
How are you exporting?  What format are you choosing?

mlmcc
0
 

Author Comment

by:BrianMack
ID: 17978668
Microsoft Excel 97-2000 - Data Only XLS
0
 
LVL 42

Accepted Solution

by:
frodoman earned 250 total points
ID: 17978994
I believe this is a limitation of how the Excel export dll works.  I would recommend creating 3 different details sections in your report and putting one field in each of the sections (instead of arranging them vertically within the same sections).  When exported this should be treated as three different rows in your Excel spreadsheet.

frodoman
0
 

Author Comment

by:BrianMack
ID: 17979648
The worked great.  Thanks again!
0

Featured Post

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

I hate sub reports and always consider them the last resort in any reporting solution.  The negative effect on performance and maintainability is just not worth the easy ride they give the report writer.  Nine times out of ten reporting requirements…
Hot fix for .Net Crystal Reports 10.2.3600.0 to fix problems with sub reports running on 64 bit operating systems ISSUE: Reports which contain subreports fail with error "Missing Parameter Value" DEPLOYMENT SERVER OS: Windows 2008 with 64 bi…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…
In a recent question (https://www.experts-exchange.com/questions/29004105/Run-AutoHotkey-script-directly-from-Notepad.html) here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question