FieldUsages Enumeration

The FieldUsages enumerated constant defines how the field is used.

Syntax

            BegEnum FieldUsages Access(*Public)
          

Members

Member Description Value
Hidden The field is hidden. These fields are passed from and to the program but are not sent to the display. Hidden fields are useful in applications involving subfiles. For example, a subfile record can contain record key information in a hidden field. The hidden field cannot be seen by the user, but is returned to program with the subfile record so that the program can return the record to the database. 0
OutputOnly The field in output only. These fields that are passed from the program to the display station when the program writes a record to a display. Output fields contain data provided by the program, not by the user. In the case of subfiles, which are special records used to display lists of information, output fields are returned to the program as if they were output/input fields. 1
InputOnly The field is input only. These fields that are passed from the display station to the program when the program reads a record. They can be initialized with a default value (specified in the record format for the display file). If the user does not change the field and the field is selected for input, the default value is passed to the program. Input fields that are not initialized are displayed as blanks into which the user can enter data. Note: Trailing blanks on input fields are replaced by null and not blank characters; therefore, the Insert key can be used to insert characters in all input fields that end in blanks. 2
Both The field is output and input. This is the default. 3

Requirements

Namespace: ASNA.Monarch.WebDspF

Assembly: ASNA.Monarch.WebDspF.DLL

Platforms: Windows Server 2012, Windows Server 2012 R2, Windows Server 2016, Windows 7, Windows 8 Pro, Windows 10 Pro