CreateEntry (NotesOutline - LotusScript®)

Creates a new entry and adds it to the outline.

Defined in

NotesOutline

Syntax

Set notesOutlineEntry = notesOutline. CreateEntry( name$ [, refEntry ] [, addAfter ] [, asChild ] )

Parameters

Note: All the parameters except name$ are new in Release 5.0.2.

name$

String. The name of the entry you want to create.

refentry

NotesOutlineEntry. Optional. The reference entry before or after which you want to insert the new entry. If you omit this parameter the entry is added to the end of the outline after the last top level entry.

Note: This parameter is required in COM. Specify "Nothing" to get the default.

addAfter

Boolean. Optional. Specify True to place the new entry after the reference entry, and False to place the entry before the reference entry.

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.

Return value

notesOutlineEntry

NotesOutlineEntry. The new entry that is automatically added to the outline.

Usage

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

Example