Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

ACCESS LOTUS NOTES through MS ACCESS FIELD

Status
Not open for further replies.

kinselas

IS-IT--Management
Aug 4, 2002
60
AU
How do I access Lotus Notes by clicking the ACCESS Email field
 
What part of lotus notes do you want? Lotus notes is a programme that holds many databases.. each database consists of documents that can be customised to hold whatever data you like.. you can then view / sort / access this info through views.

Are you saying you have a specific database that you want to access through MS Access?
 
I would like to send an email directly from Access.
 
Simply paste this in your procedure.

Dim Whoto As String
Dim WhotoCC As String
Dim session As Object
Dim db As Object
Dim doc As Object
Dim rtitem As Object
Dim EmbedObj As Object
Dim Message As String
Dim subj As String
Dim address As String
Dim FILENAME As String

Whoto = "Email Address"
WhotoCC = "CC email address"
Set session = CreateObject("Notes.NotesSession")
Set db = session.GETDATABASE("", "")
Call db.OPENMAIL
Set doc = db.CREATEDOCUMENT()
Set rtitem = doc.CREATERICHTEXTITEM("Body")
doc.Form = "Memo"
doc.SendTo = Whoto
doc.CopyTo = WhotoCC
doc.Subject = ""
doc.body = ""
FILENAME = ""
Set EmbedObj = rtitem.EMBEDOBJECT(1454, "", FILENAME)
Call doc.SEND(False)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top