soundsfishy
Registered User.
- Local time
- Today, 17:46
- Joined
- Sep 25, 2002
- Messages
- 174
I found the following code but Im not sure how get access to insert a email address.
On my form I have a field called Email. I want user to be able double click the field which then opens Notes and inserts the email address for the current client record.
Any suggestions anyone.?
Private Sub Text790_DblClick(Cancel As Integer)
Dim strAddressee As String
Dim strSubject As String
Dim strBody As String
Dim objNotesWS As Object
Dim notesdb As Object
Call Shell("C:\notes\notes.exe", vbNormalFocus)
Set objNotesWS = CreateObject("Notes.NotesUIWorkspace")
Set notesdb = objNotesWS.COMPOSEDOCUMENT(, , "memo")
strAddressee = " "
strSubject = " "
strBody = ""
'notesdb.FIELDSETTEXT "EnterSendTo", strAddressee
notesdb.FIELDSETTEXT "SendTo", strAddressee
notesdb.FIELDSETTEXT "Subject", strSubject
notesdb.FIELDSETTEXT "Body", strBody
'notesdb.Send
'notesdb.Close
Set notesdb = Nothing
Set objNotesWS = Nothing
On my form I have a field called Email. I want user to be able double click the field which then opens Notes and inserts the email address for the current client record.
Any suggestions anyone.?
Private Sub Text790_DblClick(Cancel As Integer)
Dim strAddressee As String
Dim strSubject As String
Dim strBody As String
Dim objNotesWS As Object
Dim notesdb As Object
Call Shell("C:\notes\notes.exe", vbNormalFocus)
Set objNotesWS = CreateObject("Notes.NotesUIWorkspace")
Set notesdb = objNotesWS.COMPOSEDOCUMENT(, , "memo")
strAddressee = " "
strSubject = " "
strBody = ""
'notesdb.FIELDSETTEXT "EnterSendTo", strAddressee
notesdb.FIELDSETTEXT "SendTo", strAddressee
notesdb.FIELDSETTEXT "Subject", strSubject
notesdb.FIELDSETTEXT "Body", strBody
'notesdb.Send
'notesdb.Close
Set notesdb = Nothing
Set objNotesWS = Nothing