Solved

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

Posted on 2006-11-17
4
200 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

The Eight Noble Truths of Backup and Recovery

How can IT departments tackle the challenges of a Big Data world? This white paper provides a roadmap to success and helps companies ensure that all their data is safe and secure, no matter if it resides on-premise with physical or virtual machines or in the cloud.

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…
There have always been a lot of questions related to when Crystal Reports evaluates report components (such as formulas, summaries, cross-tabs, charts, to name a few examples). Crystal Reports uses a two-pass reporting process to provide greater …
This video shows how to use Hyena, from SystemTools Software, to bulk import 100 user accounts from an external text file. View in 1080p for best video quality.
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

809 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