Solved

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

Posted on 2006-11-17
4
204 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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 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: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

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…
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 …
Monitoring a network: why having a policy is the best policy? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the enormous benefits of having a policy-based approach when monitoring medium and large networks. Software utilized in this v…
Michael from AdRem Software outlines event notifications and Automatic Corrective Actions in network monitoring. Automatic Corrective Actions are scripts, which can automatically run upon discovery of a certain undesirable condition in your network.…

626 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