Lotus Software logo
IBM Lotus Domino Designer 8.5
  Versions 8.5 and 8.5.1






createColumn method

Creates a new column.

Note This method is new with Release 6.5.

Defined in

View

Syntax

public ViewColumn createColumn()

throws NotesException
public ViewColumn createColumn(int position)

throws NotesException
public ViewColumn createColumn(int position, String columntitle)

throws NotesException
public ViewColumn createColumn(int position, String columntitle, String formula)

throws NotesException

Parameters

int position

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

String columntitle

The column title.

String formula

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

Return value

ViewColumn

A ViewColumn object. The new column.

Usage

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

Language cross-reference

CreateColumn method in LotusScript NotesView class

DesignViewAppendColumn @command in formula language

DesignViewNewColumn @command in formula language

See examples

Examples: createColumn method
Related topics
Accessing view columns




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009