.

HCLSoftware Business Partner
Domino Consulting Services
CRUCIAL Notes Tools
+1 212-599-2048

Domino Consulting Services
CRUCIAL Notes Tools
Domino administration
Notes development

Facebook Twitter YouTube
Chat now       
.
ProductsDownloadsNewsAbout usContact


Need a Domino Consultant? Call NotesMail +1 212-599-2048 - HCLSoftware Business Partner

LOTUSSCRIPT/COM/OLE CLASSES


Examples: Parent property
This Visual Basic code displays the parent user name of a NotesNewsletter object.

Private Sub NewsParent_Click()
Dim s As New NotesSession
s.Initialize
Dim news As NotesNewsletter
Dim dir As NotesDbDirectory
Dim db As NotesDatabase
Dim dc As NotesDocumentCollection
Set dir = s.GetDbDirectory("")
Set db = dir.OpenDatabase("Web test")
Set dc = db.AllDocuments
Set news = s.CreateNewsletter(dc)
MsgBox news.Parent.UserName, , "Parent user name"
End Sub

See Also