Symptom
A Crystal report having an underlined hyperlink when exported to PDF, still shows the hyperlink as underlined
Reproducing the Issue
-
Create a crystal report based on extreme sample database
-
Select the customer table and place the website filed on the report
-
Right click on the filed and go to Format Field -> Hyperlink
-
Select Current email field from the Hyperlink type and click on OK
-
The field is now turned into hyperlink
-
Again right click on the field and go to "Format field"
-
Go to the Fonts tab and select the color as blue and effects check the underline option.
-
Now when we view the report, we can see that the website field is blue in color and is also underlined.
-
Now export the report to PDF.
-
You will notice that after the report is exported and opend in PDF, the hyperlink field is still underlined.
Cause
This behavior is a by design
Resolution
-
PDF is the exact copy of the report as seen in Report designer
-
If the filed is underlined in the report in the designer, the same will be reflected after exporting the report to PDF
-
To remove the underline in the PDF format, we need to remove the underline on the filed in the report itself
Keywords
CRYSTAL REPORTS, PDF, HYPERLINK, UNDERLINE , KBA , BI-RA-CR , Crystal Reports designer or Business View Manager , Problem
Product
Crystal Reports 2008 V1