event action to send email

Graham Bucknall

Registered User.
Local time
Today, 07:54
Joined
Feb 28, 2002
Messages
28
I have a form with a person's email address as a field. I would like to be able to double click on it and start Outlook with the email address in place.

Is this possible, and if it is, how??
 
Put this code in the Double Click event of the field...
Code:
Private Sub YourTextField_DblClick(Cancel As Integer)
    
    Dim X
    X = fHandleFile("mailto:" & Me!YourTextField, WIN_NORMAL)

End Sub
and change the 'YourTextField' to the Name of the field.

Wouldn't it have been better to post this in the 'Forms' forum?

IMO
 
Thanks for that.:)

Sorry abotu being in the wrong section - I'd been going through different sections and thought I was in Forms!!
 

Users who are viewing this thread

Back
Top Bottom