on 04-17-2015 5:14 PM
I am working on a payment export file that has to meet strict formatting criteria. Each line must be 800 characters long and there must be a carriage return at the end. I set the cpi to the max (72) in order to get all 800 characters to export, but that created blank lines between each row of data. I used the registry hack suggested by someone on this forum to add the SuppressAllBlankLines and SuppressTrailingNewlines registry keys, which worked great. However, it also removes the carriage return at the end of the file.
Any suggestions? Time is of the essence. Thanks in advance.
Hi Juile,
In crystal using Chr(10) or Chr(13) you can insert a new / carriage return.
the above can be inserted at the end of each line of text.
Thanks,
Sastry
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
http://kenhamady.com/bookmarks.html provides a listing of 3rd-party Crystal Reports tools and at least 2 of them can solve this:
a) one of the Crystal Reports Desktop Schedulers allows you to automate exporting to a TEXT file and immediately target the end of the text file for a search & replace operation. The process can also automate emailing or FTP/SFTP operations (sounds like you need to send the resulting file to another company)
- or -
b) several UFLs allow you to use a Crystal Formula to write to a TEXT file (instead of exporting).
User | Count |
---|---|
79 | |
10 | |
9 | |
7 | |
6 | |
6 | |
5 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.