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