Technical Questions
 Crystal Reports Forum : Crystal Reports 9 through 2022 : Technical Questions
Message Icon Topic: Export in txt with | as seperator Post Reply Post New Topic
Author Message
Alwin1973
Newbie
Newbie


Joined: 13 Jul 2011
Online Status: Offline
Posts: 4
Quote Alwin1973 Replybullet Topic: Export in txt with | as seperator
    Posted: 18 Oct 2011 at 4:41am
For a report, i need to create a text file, were the diferent fields are being seperated with a |
Unfortunatly i can't get it made. I tried several options, but somehow CR 2008 doesnt understand that he needs to export with the | as seperator.
My export should look like this:

abcd|1234|efgh|0987|||5285|aaa||

Does anybody have an idea on how to create this?

tnx
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 18 Oct 2011 at 7:05am
export as Separated Values (csv) and select delimitor. worked for me
IP IP Logged
Alwin1973
Newbie
Newbie


Joined: 13 Jul 2011
Online Status: Offline
Posts: 4
Quote Alwin1973 Replybullet Posted: 20 Oct 2011 at 2:57am
Tnx!
I now get the correct delimiter, unfortunatly he sets for every record the header before the data.

|nr|name|zip|city|201|Lastname|1234AA|Amsterdam|
|nr|name|zip|city|202|Lasstname|1234AB|The Hague|


im further already, now just need to figure out how he exports one header and the rest records.

nr|name|zip|city|
201|Lastname|1234AA|Amsterdam|
202|Lasstname|1234AB|The Hague|

Is there any way of correcting this problem? i tried all options in the export options, perhaps i missed something?


Edited by Alwin1973 - 20 Oct 2011 at 2:58am
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 20 Oct 2011 at 6:22am
probably not...
CR doesn't give you much control over how it exports.
 
Usually it exports in such a way that it mimics what is displayed on the screen, so if you have displayed a header and detail records, then the next header and detail records, I would expect the same in the csv file....i know that it is that way in the Excel export.
 
HTH
IP IP Logged
Smitha
Newbie
Newbie


Joined: 15 Nov 2011
Location: United Arab Emirates
Online Status: Offline
Posts: 1
Quote Smitha Replybullet Posted: 15 Nov 2011 at 6:58pm
hi,
 
I need to export from crystal report to excel, but my report contains more than 500000 records; exporting stops in between and only 5000 records are contained in the xls.Can anyone please help me out..its very urgent.Ouch
 
Thanks,
Smitha
IP IP Logged
lockwelle
Moderator
Moderator


Joined: 21 Dec 2007
Online Status: Offline
Posts: 4372
Quote lockwelle Replybullet Posted: 16 Nov 2011 at 1:13pm
through CR 2008, you can only export to Excel 2003 (or something close) which is limited to about 65000 rows.
 
Sorry.
 
I don't know if newer versions have different exports as I don't use them.
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.047 seconds.