cancel
Showing results for 
Search instead for 
Did you mean: 

Exporting Crystal Report in PDF

Former Member
0 Kudos

Post Author: amumahajan

CA Forum: Exporting

Hello guys,

I'm trying to export a .rpt file into PDF. The exporting works fine without any problem. However, there is only one problem. Report has a time-based chart and the date format i want to show is dd-mm. How do i get this to work? I tried setting a default format for the .rpt file, but PDF export does not take this format. Whats the work around for this?

Any suggestions would be greatly appreciated.

Best Regards,

Amit Mahajan

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Post Author: V361

CA Forum: Exporting

Have you tried converting your formula totext(formula) Also, if you export to plain text, what do you see ? just curious ?

Former Member
0 Kudos

Post Author: amumahajan

CA Forum: Exporting

PDF export is one of the things that i'm using CR template for. THere are other things as well which work fine. In the PDF export too, i'm just facing one problem. In case of graphs where date is to be shown, i want to show date in a specific format (dd-mm), whereas, in the PDF export the format is defaulted to mm/dd/yyyy format. I have set the date format (dd-mm) globally for the .rpt file, still it doesnt seem to be helping.

Next thing i tried is, split the date into dd & mm as individual numbers. I then concatenate 2 nos. with a '-' sign in between to get the desired format. When i run the report with CR, all looks good. But when i export it into PDF, 2 decimals are added in front of each digit & the whole date format is disturbed. e.g if the date & month is 11-04 PDF displays it as 11.00-04.00.

Any ideas as to how i can correc this?

I have set the default number format for the .rpt file to 0 decimals. Even then this problem

Any suggestions pls..

Amit

Former Member
0 Kudos

Post Author: mario

CA Forum: Exporting

If you plan to use CR only for PDF export, please don't. It's not what CR is meant for, so it doesn't really do it the way one would expect and the support line is pretty much useless for that.