LOTUSSCRIPT/COM/OLE CLASSES
Given a document in a view, returns the document immediately preceding the given document at the same level. If you send the method a main document, the preceding main document in the view is returned. If you send a response document, the preceding response document with the same parent is returned.
If the view is categorized, the previous sibling must be in the same category as the original document.
Defined in
NotesView
Syntax
Set notesDocument = notesView.GetPrevSibling( document )
Parameters
document
notesDocument
You can use GetPrevSibling to move from one main document to the next, skipping any response documents in between.
If you have filtered the view using FTSearch, GetPrevSibling returns the previous document in the view, regardless of level.
Siblings
Two documents are siblings if:
GetPrevSibling returns Nothing when the notesDocument parameter is:
getPrevSibling method in Java View class
Example See Also