FieldGetText (NotesUIDocument - LotusScript®)

In a document in read or Edit mode, returns the contents of a field you specify, as a string. If the field is of type numbers or date-time, its contents are converted to a string.

Defined in

NotesUIDocument

Syntax

textValue$ = notesUIDocument .FieldGetText( [ fieldName$ ] )

Parameters

fieldName$

String. Optional. The name of the field that has the contents you want. If you don't specify a fieldName$, the method returns the contents of the current field.

Return value

textValue$

String. The contents of the field you specified.

Usage

All values are displayed for a multi-value field. The values are separated by the multi-value separator as specified for display purposes in the field properties.

Example