FORMULA LANGUAGE


@DocNumber
Example

In a column or window title formula, returns a string representing the entry number of the current document or category. For example, 2.3 indicates that the document is the third entry below the second entry.

Syntax

@DocNumber
@DocNumber(
separator )
@DocNumber( "" )

Parameters

separator


""
Return value

docNum


Usage

Use @DocNumber in column or window title formulas. In window title or field formulas, it will evaluate to "0" until the document has been saved and reopened. This function does not work in any other formula.

This @function is calculated when the document is opened. Results are undefined in cases where the document is not opened, such as printing from a view.

You cannot use this function in Web applications, except in column formulas.

Language cross-reference

IndentLevel property of LotusScript NotesViewEntry class

GetPosition method of LotusScript NotesViewEntry class

IndentLevel property of Java ViewEntry class

getPosition method of Java ViewEntry class

Example
See Also