Email address display

M

Michael C C G

Hi,

When I type an email address into a form the underlying table displays the
address but appends appends a full hyperlink address to it. How can I
prevent this?

Thanks
 
A

Arvin Meyer [MVP]

The hyperlink datatype defaults to the http protocol. You can force it to
email by prepending "mailto:" to the email address. I find it easier and
much more efficient to simply use a text datatype and code to prepend when I
want to email something:

Private Sub txtEmail_DblClick(Cancel As Integer)
Me.Application.FollowHyperlink ("Mailto:" & Me![txtEmail])
End Sub
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top