MoveEntry (NotesOutline - LotusScript®)

Moves an outline entry and subentries from one location to another.

Defined in

NotesOutline

Syntax

Call notesOutline .MoveEntry( currentEntry , refEntry [, moveAfter ] [, AsChild ] )

Parameters

currentEntry

NotesOutlineEntry. The entry that needs to be moved within the outline. If you specify Nothing, this method generates an error.

refEntry

NotesOutlineEntry. The reference entry before or after which you want to insert the current entry.

moveAfter

Boolean. Optional. Specify True to move the current entry after the reference entry, and False to move the current entry before the reference entry. Default is True.

AsChild

Boolean. Optional. Specify True if you want the new entry to be added as a child to the reference entry, and False if you want the new entry to be added as a sibling entry. The default is False.

Note: The parameter default changed to False in Release 5.0.2.

Usage

You must Save the outline or the effect of this method is lost when the program exits.

Moving an entry to the beginning of the outline makes it a top-level (level 0) entry.

Example