.

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 script prints the title of the NotesDatabase object from which a view was retrieved (db), and the title of the NotesDatabase object returned by the Parent property (parentDb). The titles are the same, because db and parentDb represent the same database, FATHER.NSF.

Dim db As New NotesDatabase( "", "father.nsf" )
Dim parentDb As NotesDatabase
Dim view As NotesView
Set view = db.GetView( "By Category" )
Set parentDb = view.Parent
Messagebox( db.Title )
Messagebox( parentDb.Title )

See Also