Hi, everyone:
Anyone knows how to check the index of db is updated? My case is if user modify or add data to doc, the index has not been updated yet. I need to give user message says “the index has not been updated.”
Any help, I appreciate!
Hi, everyone:
Anyone knows how to check the index of db is updated? My case is if user modify or add data to doc, the index has not been updated yet. I need to give user message says “the index has not been updated.”
Any help, I appreciate!
Subject: index update
LastFTIndexed property
Dim session As New NotesSession
Dim db As NotesDatabase
Dim indexDate As Variant
Set db = session.CurrentDatabase
indexDate = db.LastFTIndexed
Dim session As New NotesSession
Dim db As NotesDatabase
Set db = session.CurrentDatabase
If ( db.LastModified > db.LastFTIndexed ) Then
Call db.UpdateFTIndex( False )
End If