Results 1 to 4 of 4
  1. #1
    gksmith5 is offline Novice
    Windows 10 Access 2016
    Join Date
    Jun 2018
    Posts
    2

    Converting Hyperlink field back to short text

    In a customer Access table, I have a field for customers' email addresses. The field type was originally Short Text. In order to send email messages, I changed the data type to Hyperlink. Now, I wish to convert the field back to Short Text, but I have discovered that upon doing the conversion, the field contents have been modified by adding "#mailto:email address" to the end of the original email address. How do I delete this extra information? I want to insert only the original email address via Mail Merge into a Word document. This extra information is redundant. Before doing this conversion of the field types, I was able to insert the email addresses into my Word documents as desired without the added verbiage.



    Thanks in advance!

  2. #2
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,119
    This situation is the reason why many of us avoid the hyperlink datatype
    If you want to remove the 'verbiage' permanently, then use an update query.
    Update your email address field to
    Code:
    left([emailaddress],InStr([emailaddress],"#mailto")-1)
    Make a backup first just in case

    BTW welcome to the forum
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

  3. #3
    gksmith5 is offline Novice
    Windows 10 Access 2016
    Join Date
    Jun 2018
    Posts
    2
    I have learned my lesson regarding use of Hyperlinks in Access! Thanks for the help.

  4. #4
    isladogs's Avatar
    isladogs is offline MVP / VIP
    Windows 10 Access 2010 32bit
    Join Date
    Jan 2014
    Location
    Somerset, UK
    Posts
    6,119
    You're welcome.
    Colin, Access MVP, Website, email
    The more I learn, the more I know I don't know. When I don't know, I keep quiet!
    If I don't know that I don't know, I don't know whether to answer

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 2
    Last Post: 04-13-2017, 03:00 PM
  2. Replies: 13
    Last Post: 04-12-2017, 08:11 AM
  3. Replies: 1
    Last Post: 05-18-2016, 09:46 AM
  4. Convert Hyperlink field to Text
    By izzo248 in forum Access
    Replies: 3
    Last Post: 08-24-2015, 08:44 PM
  5. Replies: 2
    Last Post: 02-10-2015, 02:12 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums