COMMENT attribute

The COMMENT attribute defines text that can be shown when the element becomes current.

Syntax

COMMENT = [%]"string"
  1. string is the text to display.
  2. string can be a localized string.

Usage

The most common use of the COMMENT attribute is to give information or instructions to the user. This is particularly appropriate when the field accepts only a limited set of values.

The screen location where the message is displayed depends on external configuration. It can be displayed in the comment line, or in the status bar when using a graphical user interface.

If the OPEN WINDOW statement specifies COMMENT LINE OFF, any output to the comment area is hidden even if the window displays a form that includes fields that include the COMMENT attribute.

EDIT f001 = customer.name, COMMENT = "The customer name";