| # Form Fields (ttadv3506m000) Use this session to maintain form fields. A form field can either be a table field or a non-table field. Example Table field example tiitm001.item tiitm001 is the table and item a field in that table. Tools automatically fills the form field domain based on the table field data. Non-table field example field.desc Both the field and the domain to which it belongs must be defined in the program script as follows:
     extern domain ttcdes
    			 field.desc
Note that you must include the keyword 'extern' because it is a non-table field. Note If you have started this session by zooming, you can only find and select a record. Language The language in which the form and the form fields are stored. The language determines which field descriptions apply at run time. For example, if your current language is 2, the field descriptions from language 2 are shown at run time. Your current language is specified in the User Data (ttams1100s000) session. Package VRC The package code of the package VRC. Package VRC The version code of the package VRC. Package VRC The release code of the package VRC. Package VRC The customer code of the package VRC. Form A screen that appears when a session is started. A form interacts with the database, and provides the user interface that is used to manipulate the data on the form. A form is uniquely identified by the combination of: The package code. The module code. The form code. The language code. Sequence No. Indicates the input and display order of the form fields. You can change the order of the fields by pressing CTRL+O in the form editor. Field Name The name (code) of the form field. A form field can either be a table field or a non-table field. An example of a table field is 'tiitm001.item', where tiitm001 is the table and 'item' a field in that table. The form field domain is automatically filled in the current session based on the table field data. It is also possible to define a non-table field, assuming that you have defined it in the program script that is linked to the session for which the form is used. This program variable must be defined with keyword 'extern' in the program script. The data type of the variable must be equal to the data type defined in the form. Domain The package code of the domain. Domain The code of the domain. Data Type The domain type. El. When the form field is part of an array, this field shows the element number. Length The length (number of positions) of the field in the form. Zoom Indicates whether a session or a menu can be activated from this field. Program The code of the session or menu that you can activate from this field. * Obsolete * The sequence number of the zoom menu. Return Field The name of the field in the zoom session from which the value will be returned to the field in the session you zoom from. |