Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: exporting to a CSV file Post Reply Post New Topic
Author Message
JohnCottrell11
Newbie
Newbie
Avatar

Joined: 04 Feb 2008
Location: United Kingdom
Online Status: Offline
Posts: 1
Quote JohnCottrell11 Replybullet Topic: exporting to a CSV file
    Posted: 04 Feb 2008 at 8:13am
I've looked all over for a solution for this but have found no mention of the issue anywhere.
Simply put, I have a report that has a group header and one or more detail results below the header. When exporting as Excel - data only, the format is fine:
Header Result 1
Detail 1, A, B, C
Detail 2, X, Y, Z
Detail 3, 1, 2, 3
etc....
However, when exporting to a CSV file, regardless of the separator character used, the results are as follows (pipe is the delimiter):
Header Result 1|Detail 1|A|B|C
Header Result 1|Detail 2|X|Y|Z
Header Result 1|Detail 3|1|2|3
etc....
Can I make it so the rows keep the report format as shown here?:
Header Result 1
Detail 1|A|B|C
Detail 2|X|Y|Z
Detail 3|1|2|3
-----------

Can anyone help
IP IP Logged
hollis3
Newbie
Newbie


Joined: 04 Feb 2008
Location: United States
Online Status: Offline
Posts: 2
Quote hollis3 Replybullet Posted: 04 Feb 2008 at 3:19pm

Depending upon your version of Crystal, there are a few fixes:  http://technicalsupport.businessobjects.com/KanisaSupportSite/search.do?cmd=displayKC&docType=kc&externalId=c2014451&sliceId=&dialogID=360384&stateId=1%200%20356275

Another option is to create the report as a txt file.
Header - "Header1","Header2","Header3"
Detail - "{Detail1}","{Detail2}","{etc}
IP IP Logged
Post Reply Post New Topic
Printable version Printable version

Forum Jump
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot delete your posts in this forum
You cannot edit your posts in this forum
You cannot create polls in this forum
You cannot vote in polls in this forum



This page was generated in 0.016 seconds.