W
welshgirl
Guest
Hi,
I am a very new user to Access so please forgive me for this probably very basic question:
I have an email field in one of my forms and I want to enter the email address and at some time in the future when I want to send an email to this contact I want to click on the email address and launch a new email message.
I have carried out the following (info picked up from various help sites):
Opened form in design view - highlighted email field and opened properties - opened event tab - moved to "on click" and opened "code builder" then in VBA I have added the line:
Application.FollowHyperlink "Mailto:" & [ControlName]
between:
Private Sub Email_DblClick(Cancel As Integer) and
End Sub
When I then try to dbl click on the email address I get the following error message:
Runtime error '2465'
Microsoft Access can't find the field '|' referred to in your expression.
Thanks in advance
I am a very new user to Access so please forgive me for this probably very basic question:
I have an email field in one of my forms and I want to enter the email address and at some time in the future when I want to send an email to this contact I want to click on the email address and launch a new email message.
I have carried out the following (info picked up from various help sites):
Opened form in design view - highlighted email field and opened properties - opened event tab - moved to "on click" and opened "code builder" then in VBA I have added the line:
Application.FollowHyperlink "Mailto:" & [ControlName]
between:
Private Sub Email_DblClick(Cancel As Integer) and
End Sub
When I then try to dbl click on the email address I get the following error message:
Runtime error '2465'
Microsoft Access can't find the field '|' referred to in your expression.
Thanks in advance