By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
458,137 Members | 1,563 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 458,137 IT Pros & Developers. It's quick & easy.

Pass Crystal Reports page break to the export text (.txt)

P: 1
I have a number of Crystal Reports that I am exporting to text in

It exports just fine, but all as one page - there are no page breaks or page headings.

I can change this by changing the FormatOptions.LinesPerPage = 0 bit to something else, but the reports being exported are all different.

What would work for one would not necessarily work for another. I'd rather not have to code something separate for each report.

Is there a way to pass the Crystal Reports page break to the export text? Or to another format (say, .pdf?)
Nov 6 '14 #1
Share this Question
Share on Google+
1 Reply

Expert Mod 5K+
P: 9,731
This is probably because there are no page breaks in a .txt file.

I have never worked with crystal reports before but according to these 2 MSDN documents you should be able to export the report to a PDF format:
Or it looks like you could also use the PdfRtfWordFormatOptions Class.

Nov 7 '14 #2

Post your reply

Sign in to post your reply or Sign up for a free account.