LOTUSSCRIPT/COM/OLE CLASSES


Examples: CacheSize property
This Visual Basic code (the CacheSize_Click Sub) increments the cache size.

Dim s As New NotesSession
Dim db As NotesDatabase
Dim v As NotesView
Dim n As NotesViewNavigator

Private Sub CacheSize_Click()
n.CacheSize = n.CacheSize + 1
MsgBox n.CacheSize, , "Cache size"
End Sub

Private Sub InitializeNav_Click()
Set s = New NotesSession
s.Initialize
Set db = s.GetDatabase("", "Web test")
Set v = db.GetView("Main View")
Set n = v.CreateViewNav
End Sub

See Also