Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

Create URL from email address


This topic is 5774 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I'm trying to create a URL from a contacts company email address. I'm using this calculation:

Case (

IsEmpty ( URL ) ;"http://www." & Right(eMail_Address;Length(eMail_Address) - Position(eMail_Address;"|@|";Length(eMail_Address);-1));

""

)

Some of the contact records already have a URL entered so I don't want to change that entry if it exists.

My problem is I do not get any data from this calculation. I have set this up as an Auto Enter calculation in the URL field and unchecked Do not replace existing value assuming the IsEmpty ( URL ) statement will skip the record if there is data there.

What am I doing wrong?

Link to comment
Share on other sites

Ok, so I created a separate calculation field 'c_URL' with the following:

"http://www." & RightWords ( Substitute ( eMail_Address; "@"; " " ); 1 )

Works fine.

So, I tried entering this into my URL field as an auto enter calc:

Case (

IsEmpty ( URL ) ;c_URL;

URL

)

Still nothing in the URL field.

::

Link to comment
Share on other sites

I assume that you're creating a new record or modifying the email address so the auto enter actually triggers.

Beyond that, why not select the "do not replace" checkbox and ditch the IsEmpty? That should work.

Link to comment
Share on other sites

This topic is 5774 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.