Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

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

Posted on 2006-11-17
4
Medium Priority
?
206 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 101

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 1000 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: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say 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

Crystal Reports: 5 Tests for Top Performance It is complete, your masterpiece report.  Not only does it meet your customer’s expectations, it blows them out the water, all they want is beautifully summarised and displayed in a myriad of ways. …
Hello everyone, Hope you find this as helpful as we did. We have on the company I work for an application built in Delphi V with Crystal Reports 8. We all know that Crystal & Delphi can be temperamental sometimes and the worst thing is, nearly…
Video by: ITPro.TV
In this episode Don builds upon the troubleshooting techniques by demonstrating how to properly monitor a vSphere deployment to detect problems before they occur. He begins the show using tools found within the vSphere suite as ends the show demonst…
Despite its rising prevalence in the business world, "the cloud" is still misunderstood. Some companies still believe common misconceptions about lack of security in cloud solutions and many misuses of cloud storage options still occur every day. …

885 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