DISPLAY LIKE

The DISPLAY LIKE attribute applies to a field the attributes that the Column Attributes Dictionary assigned to a specified column in the syscolatt table.

4GLREF00000041.gif

field-tag is the field tag that you declared in the SCREEN section.

table is the unqualified name or the alias of a database table, synonym, or view, as declared in the TABLES section. (This is not required unless several columns in different tables have the same name, or if the table is an external table or an external, distributed table.)

column is the name of a column in table, or (if you omit table) the unique identifier of a column in one of the tables that you declared in the TABLES section.

Specifying this attribute is equivalent to listing all the attributes that are assigned to table.column in the syscolatt table.

You do not need to specify the DISPLAY LIKE attribute if the field is linked to table.column in the Field Name specification.

You cannot specify a column of data type BYTE as table.column.

Related Attributes

AUTONEXT
INCLUDE
REVERSE
COLOR
INVISIBLE
UPSHIFT
COMMENTS
NOENTRY
VALIDATE LIKE
DEFAULT
PICTURE
VERIFY
DOWNSHIFT
PROGRAM
WORDWRAP
FORMAT
REQUIRED