CreateColumn (NotesView - LotusScript®)

Creates a new column.

Note: This method is new with Release 6.

Defined in

NotesView

Syntax

Set notesViewColumn = notesView .CreateColumn( [ position& ] [ , columnName$ ] [ , formula$ ] )

Parameters

position&

Long. Optional. The position of the new column. Defaults to the last column.

columnName$

String. Optional. The column title.

formula$

String. Optional. The column formula. "@DocNumber" is the default.

Return value

notesViewColumn

A NotesViewColumn object. The new column.

Usage

Positioning is 1-based. This differs from the array returned by Columns, which is 0-based.

Example