Returns the list of views found in the current Lotus Notes database.
// Open the connection
ConnectionID is int
ConnectionID = NotesOpenConnection("Password", "MarsServer", ...
"C:\Users\Julia\AppData\Local\Lotus\Notes\Data\user.id")
// Specify the Lotus Notes database to use
DatabaseID is int
DatabaseID = NotesOpenDatabase(ConnectionID, "julia.nsf")
...
// List of database views
ViewList is string
ViewName is string
ViewList = NotesListView(DatabaseID)
// For each view
FOR EACH STRING ViewName OF ViewList SEPARATED BY CR
// Adds the name of the view into a List Box control
ListAdd(LIST_ListViewNames, ViewName)
END
Syntax
<Result> = NotesListView(<Session identifier>)
<Result>: Character string
Name of the views found in the Lotus Notes database, separated by CR characters.
<Session identifier>: Integer
Session ID to be used. This identifier is returned by EmailStartNotesSession or NotesOpenDatabase.