In the Designer Help…
Set notesDocumentCollection = notesDatabase.Search( formula$, notesDateTime, maxDocs% )
Do you think I could use this to find all documents modified or created in the last 15 minutes, if I set notesDateTime to now - 15 minutes??
Or does the method just look at the date and ignore the time element?
Many thanks
Mike
Subject: NotesDatabase.Search method - can you include time?
Mike,
Designer Help seems to imply that only that the date counts, but maybe it looks at the time as well. Why don’t you try it and find out?
Ken
Subject: RE: NotesDatabase.Search method - can you include time?
Ken,
Tried it!!!
Works like a charm
Used the NotesDateTime.AdjustMinute method to set the date and time for the cut-off and everything worked as I would want it to
Mike