cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Hyperlink formulas

0 Likes
622

Good afternoon,

Does anyone know how to take a custom value from inside SAP Crystal Report 2025 and make it export as a text in the hyperlink box.  I've tried multiple combinations and keep getting the same error ( The System cannot find the file specified) 

Custom value name ( ItemID@MITEM>custFld3) = \\<myserver>\Files\_Customer_Files_New\Municipality\Projects\Test.pdf

Connor_Sullivan54_0-1755206440506.png

 

 

View Entire Topic
Chris1973
Active Contributor
0 Likes

Hi @Connor_Sullivan54 

Thank you for your question.

There are a few common causes to your error. It could be incorrectly formatted or inaccessible file path, the client viewing the report doesn’t have access to the network share or missing or incorrect escaping in the path string in your formula. Here are important points and steps to help you resolve that:

First, use the Format Field à Hyperlink tab to select your text or formula field, open Format Field, then go to Hyperlink.

For the hyperlink type, Choose "A File" if linking to a file path. Use the formula editor to insert your dynamic path like \\\\<myserver>\\Files\\_Customer_Files_New\\Municipality\\Projects\\Test.pdf.

Make sure to double backslash each folder separator (\\) so Crystal Reports interprets it correctly.

Then verify the file path works on the client machine opening the report (the PC must have network access to that server path).

Finally, you can format text with HTML links using <a href="">link text</a> in a formula field, then set Text Interpretation to "HTML Text" under Format → Paragraph tab if you want custom text instead of the raw URL.

I hope this provides the necessary information. I am happy to help if you have further questions.

Best regards

Chris