Examples: Title property (NotesDatabase - LotusScript®)

  1. This script displays the title of the current database.
    Dim session As New NotesSession
    Dim db As NotesDatabase
    Set db = session.CurrentDatabase
    Messagebox( db.Title )
  2. This script changes the title of the SAFFRON.NSF database to "Herb Discussion."
    Dim db As New NotesDatabase( "", "saffron.nsf" )
    db.Title = "Herb Discussion"
  3. This script has no effect, since it is not possible to change the title of the current database.
    Dim session As New NotesSession
    Dim db As NotesDatabase
    Set db = session.CurrentDatabase
    db.Title = "Marketing Discussion"