GotoPos (NotesViewNavigator - LotusScript®)

Moves the current pointer to the entry at a specified position in a view navigator.

Note: This method is new with Release 5.0.2b.
Note: This method is supported in COM only.

Defined in

NotesViewNavigator

Syntax

Call notesViewNavigator .GotoPos( pos$, separator$ )

Parameters

pos$

String. A position in decimal format; for example, "1.2.3" is the third child to the second child to the first entry, using the period as a level separator.

separator$

String. The separator between position levels.

Usage

If there is no entry at the specified position, the current pointer stays where it is. No exception is raised. You must insert your own code (for example, comparing positions) to detect this condition.

This method raises the error lsERR_NOTES_VIEWNAV_BAD_POS 4393 ("Invalid position string") if the position parameter syntax is incorrect.

Example