Text Area

The Text Area control allows users to type in or view multiple lines of unformatted text. You can also make a Text Area control read-only to display the value of a particular field or if the control is part of a Subform control virtual join.

Example Text Area control

The benefits of a Text Area control are listed below.

  • Users have multiple lines in which to type or view text.
  • You can make the control read-only to display data you do not want users to change, such as the description of an open interaction.
  • RDBMS tools can typically query Text Area control fields as long as you map the Text Area's input field to a multi-row array table. See Multi-row array table.
  • Third-party reporting tools can typically read Text Area control fields as long as you map the Text Area's input field to a multi-row array table. See Multi-row array table.
  • The user does not have to apply any text formatting to the value typed.
  • If the control is editable, users can update the text value at any time.

The costs of a Text control are listed below.

  • You must choose an array mapping strategy in which to store the Text Area control data. See Array mapping options.
  • The control uses the character encoding of the back-end RDBMS to determine how to store character data. If users type in text using a character encoding that your system does not support, the data will likely become corrupted.
  • It is difficult to validate that users type in meaningful values into the control.
  • There is no way for users to format the text they type into the control.
  • The longer the width of the Text Area control the more form space the control requires.

In general, a Text Area control is best used in the following circumstances.

  • The user needs to type in or view multiple lines of text.
  • You want the option to make the text read-only. For example, the text is a part of an closed record or part of a virtual join in a Subform control.
  • You do not need to format the text.

If you want users to type a single line of text, use a Text controls instead. If you want users to be able to format the text they type in, use an HTML Editor control instead.