OpenIfModified (NotesDatabase - LotusScript®)

Given a date, opens the specified database if it has been modified since that date.

Note: This method is supported in LotusScript® only. For COM, use OpenDatabaseIfModified in NotesDbDirectory.

Defined in

NotesDatabase

Syntax

flag = notesDatabase .OpenIfModified( server$ , dbfile$ , notesDateTime )

Parameters

server$

String. The name of the server on which the database resides. Use an empty string ("") to indicate a database on the current computer.

dbfile$

String. The file name of the database.

notesDateTime

A cutoff date. If one or more documents in the database has been modified since this date, the database is opened; if not, it is not opened.

Return value

  • True indicates that the database was opened
  • False indicates that the database was not opened

Example