• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 439
  • Last Modified:

Href Phone Field

I have a report that I need to Href the phone field. . .
I hope that those who helped me here will continue:

  • 2
  • 2
3 Solutions
Kurt ReinhardtSr. Business Intelligence Consultant/ArchitectCommented:
href is just a hyperlink.  What version of Crystal Reports are you using?  In modern versions, you can simply right-click the field, click the Hyperlink tab and create the link.  What is it you're specifically trying to do?
Starquest321Author Commented:
I have a field value. .a phone number that is taken from the database.
I need that field to be href with the following tag: tel://{field value}
How can that be done?
As Kurt asked, which version of CR?  Different versions may have different options.

 What do you expect a tel:// link to do when you click on the field?

 I have no idea if the link will actually do anything, but in CR 10, you can add it like this:

 Go to the field format and select the Hyperlink tab.
 Select one of the Hyperlink types (to enable the "Hyperlink Information" section below).
 Under "Hyperlink Information", click on the formula (X+2) box to the right of the address box and enter a formula that combines "tel://" and the phone number field.  The exact form will depend on whether the phone number field is numeric or string, and how you want the number formatted in the link.

 For example, if the field is numeric and you just want the digits (eg. 1234567), you could use something like this:

"tel://" + CStr ({phone number field}, "#")

 Like I said, I have no idea if that will do what you want.  I just got an "unable to open hyperlink" error when I tried it.

Starquest321Author Commented:
What I want to do is to integrate the SKYPE calling hyperlink in the report. So when you click on the the number it will dial!
Kurt ReinhardtSr. Business Intelligence Consultant/ArchitectCommented:
For Skype, this worked for me:


Please note, that assumes the phone number is already a text field in a straight numeric format, such as '5555555555'. The number of characters will differ based on country code, if applicable.

Follow James' instructions on how to create the hyperlink field.
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Upgrade your Question Security!

Your question, your audience. Choose who sees your identity—and your question—with question security.

  • 2
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now