FieldContains (NotesUIDocument - LotusScript®)

In an open document, checks if a field contains a specific text value.

Defined in

NotesUIDocument

Syntax

flag = notesUIDocument .FieldContains( fieldName$ , textValue$ )

Parameters

fieldName$

String. The name of the field you want to check. Specify an empty string ("") to check the contents of the current field.

textValue$

String. The value to look for.

Return value

flag

Boolean. Returns True if the field contains the textValue$. Otherwise returns False.

Example