[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 426
  • 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:

http://www.experts-exchange.com/Database/Reporting_/Crystal_Reports/Q_27842451.html
0
Starquest321
Asked:
Starquest321
  • 2
  • 2
3 Solutions
 
Kurt ReinhardtCommented:
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?
0
 
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?
0
 
James0628Commented:
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.

 James
0
 
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!
0
 
Kurt ReinhardtCommented:
For Skype, this worked for me:

'callto:+'&currentfieldvalue

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.
0

Featured Post

Free Tool: Subnet Calculator

The subnet calculator helps you design networks by taking an IP address and network mask and returning information such as network, broadcast address, and host range.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

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