Sub Initialize
Dim session As New NotesSession
Dim runDate As Variant
runDate = session.LastRun
End Sub
Sub Initialize
Dim session As New NotesSession
Dim db As NotesDatabase
Set db = session.CurrentDatabase
If ( session.LastRun > db.LastFTIndexed ) Then
Call db.UpdateFTIndex( False )
End If
End Sub