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






@DocNumber

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

Text. Optional. Indicates a separator to be used in the document number instead of "." (period); must be one character.

""

Empty string argument. Optional. Tells the function to return the least significant item of the document number (in other words, its rightmost component).

Return value

docNum

Special text. The value that represents the document number of the document or category in the view. You cannot convert special text to a number.

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

See examples

Examples: @DocNumber
Related topics
@DocChildren
@DocDescendants
@DocLevel
@DocParentNumber
@DocSiblings
Window title and column formula @functions
Working with @functions




Library | Support | Terms of use |

Last updated: Monday, October 5, 2009