Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

"Not supported" error when exporting to pdf

Status
Not open for further replies.

DJWheezyWeez

Technical User
Jun 5, 2008
265
US
I'm using CR XI.

I'm trying to export a report to a pdf but I get the errors "Failed to export the report" and "Not supported". I tried finding an answer around the internet but the only reason I found was because of custom fonts or images in subreports. My report is made up of 20 or so subreports all with Arial font and no images so I'm stuck. Is there another reason why this might be happening?

-DJWW
 
Are you normally able to export from Crystal to pdf?

[yinyang] Madawc Williams (East Anglia, UK). Using Crystal 11.5 with SQL and Windows XP [yinyang]
 
Yes. This is the first time I've ever had an error or problem of any kind when trying to export pdf.
 
Then it must be some specific feature of the report. What are you doing that's not standard?

[yinyang] Madawc Williams (East Anglia, UK). Using Crystal 11.5 with SQL and Windows XP [yinyang]
 
Do you have each subreport as stand alone reports.

Try running each one and exporting individually, at least then you can identify subreport causing problem.

Ian
 
I've never written a report quite like this one. Normally, I bring in fields to the detail section, make some groups, throw in some totals, make parameters to choose what I want the report to show, and sometimes use subreports.

In this report, I have 34 detail sections. Section a has 3 subreports each with their own shared variables in them. The SV in the first subreport is used in a formula in section b to show a total. The SV's from the other two subreports are used in another formula in section b, summed together to get another total. The rest of the report is built that way, subreports in every other section and the formulas below them.

All the subreports can be exported individually.

I asked my boss if he had any thoughts and he told me it was in detail section m. After looking at section m, the only thing that made it different than the other sections was that it had 6 subreports in it and a box going through it. I don't think having 6 subreports in the same section caused the problem but I made more detail sections and split them up. If anything, it makes the report nicer to look at. My thought was that maybe since I had a box going through multiple sections and half of them have "underlay following sections" checked that somehow Crystal didn't like that. I deleted the box but still had the same issue.

 
Apparently I didn't double check EVERY subreport. In section m, where my boss said the issue was, I looked at all 6 reports again and changed all the fonts to arial. Most of them were still all arial but 2 of them had arial and times new roman. I don't know how this was a problem but I changed all the fonts to the same thing and it worked.

My only other theory is that there was some hidden field or textbox with a font that wasn't normal that I changed but selecting everything with ctrl+a.

Either way, it's working now. Thanks for all the help and sorry for wasting your time.

-DJWW

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top