The sub-list shows the masks in which the field selected in the header form is used. Just like in the mask data form, sub-list field-assignment, mask specific field attributes can be assigned for each mask-field relation. Mask- field assignments of existing default masks may not be changed, for they are internally required by DataView.
Mask Name | name of the mask |
Sequence | position number of the field in the mask |
Order | sort identifier for queries on the field |
Row | row position of the field in a form |
Column | column position of the field in a form |
Length | visible row length or focus length |
Width | visible column width or focus width |
Width/V (virtual width) | virtual column width |
Access | field access in mask-edit state. |
Insert Access | field access in insert mode of mask-edit state |
Update Access | field access in update mode of mask-edit state |
Query Access | field access in query mode of the mask-edit state |
Video | color for field |
Menu | name of the selection tool at the field or name of the mask component |
Type (menu type) | type of the selection tool at the field |
Pre Field Userexit | name the userexit function at the Pre_Field trigger |
Post Field Userexit |
name of the userexit function at the Post_Field trigger |
Hyper Field Userexit | opens the form for the field entry |
Form | opens marked record in the form mask data |
Reconfigure | updates the copy of the mask in main memory |
Delete Mask | deletes the mask in the database |
Field Assignment | opens the list of mask field relation |
Field Default | opens the list mask field default |
attribute | master attribute for mask (T_MASK) |
type, entry | string, entry required |
max. no. of characters | 50 |
selection tool | recursive widget (list with existing masks) |
multilingual field | no |
The masks's name identifies it uniquely. You'll want to use consistent naming conventions, to differentiate between lists and forms.
Attention!
Any default masks created when the model is defined are required internally by DataView, and cannot therefore be modified. If you want to use a default mask as a template, you need to copy the mask record and save it under a different name.
Sequence
attribute
relation attribute for mask-field (T_MAS_FLD)
type, entry
Integer, entry required
max. no. of characters
5
selection tool
no
multilingual field
no
The numerical position of a field determines the sequence of fields in the a mask. An existing sequence in the database table is irrelevant. In lists, the fields appear in their logical order, in forms they can be placed arbitrarily.
Sorting
attribute
relation attribute for mask-field (T_MAS_FLD)
type, entry
Integer, entry required
max. no. of characters
5
selection tool
no
multilingual field
no
The Sort type determines the order of the records returned after a query DataView sorts fields of type integer, real and money numerically, and string fields alphabetically.
n determines the field's priority when sorting by more than one field. 1 has the highest priority.
Example: Field A: n = 1, Field B: n = -2 -> DataView sorts the records according to field A in ascending order. If there is more than one record where field A is identical, DataView sorts these records according to field B in descending order.
Note! Non-zero sort types can take a long time. For imprecise queries in particular, which yield a large number of records (> 0) as a result, you should rely on local sorting.
Note!
There is a Sort Mask, where users can alter the sort type before a query. It can be opened for the active field with [Strg+O]. The setting overwrites the value in the Mask-Field relationship until the mask is closed.
Row
attribute
relation attribute for mask-field (T_MAS_FLD)
type, entry
Integer, entry required
max. no. of characters
5
selection tool
no
multilingual field
no
DataView ignores the entry for lists and fields.
For mask components in forms, the position is given by the value entered here plus the component's position.
More information:
-> Field order and position
Column
attribute
relation attribute for mask-field (T_MAS_FLD)
type, entry
Integer, entry required
max. no. of characters
5
selection tool
no
multilingual field
no
DataView ignores the entry for lists and fields.
For mask components in forms, the position is given by the value entered here plus the component's position.
More information:
-> Field order and position
Length
attribute
relation attribute for mask-field (T_MAS_FLD)
type, entry
Integer, entry required
max. no. of characters
5
selection tool
no
multilingual field
no
For lists, the length is always automatically 1, for forms, the value can be arbitrary, so that fields can occupy more than one line. The product of the length and the visible width provides the total visible size.
Attention! The total visible length may not exceed 255 characters (with the exception of BLOB- and calculation fields).
More information:
-> Field size,
-> Displaying logical fields
Width
attribute
relation attribute for mask-field (T_MAS_FLD)
type, entry
Integer, entry required
max. no. of characters
5
selection tool
no
multilingual field
no
The value is the visible width actually displayed in the mask. The product of the length and the visible width provides the total visible size.
Attention! The total visible length may not exceed 255 characters (with the exception of BLOB- and calculation fields). Single-column lists must have a width of at least 5, otherwise they will not display properly.
More information:
-> Field size,
-> Displaying logical fields
Width/V (virtual width)
attribute
relation attribute for mask-field (T_MAS_FLD)
type, entry
Integer, entry required
max. no. of characters
5
selection tool
no
multilingual field
no
The virtual width determines the maximum number of characters it can accept, and could therefore be termed the total virtual size of a field. It is always useful to set the total virtual size to more than the total size (length x width), if you want to display the field in abbreviated form, e.g. when the mask becomes full. Set Virtual Width = 0 to define no virtual width explicitly, i.e. total visible size = total virtual size.
For longtext fields you need to enter a virtual size of over 255 (generally ), for BLOB fields the value is irrelevant (usually set to 0).
More information:
-> Field size
Access (access flag)
attribute
relation attribute for mask-field (T_MAS_FLD)
type, entry
string, entry optional
max. no. of characters
1
selection tool
menu with all access Ids
multilingual field
no
Field access determines how a user may edit a field's record. Access privileges apply to all editing, i.e. any of the standard functions Insert, Copy, Edit or Search.
If you want to define different privileges for Insert, Update and Query, you need to use action-specific access flags (Insert, Update and Query fields).
More information:
-> Field access
Insert Access (access flag)
attribute
relation attribute for mask-field (T_MAS_FLD)
type, entry
string, entry optional
max. no. of characters
1
selection tool
menu with all access Ids
multilingual field
no
Insert Access determines a user's access privileges for Insert mode (Copy and Paste).
More information:
-> Field access
Update Access (access flag)
attribute
relation attribute for mask-field (T_MAS_FLD)
type, entry
string, entry optional
max. no. of characters
1
selection tool
menu with all access Ids
multilingual field
no
Update Access determines a user's access privileges after selecting Edit.
More information:
-> Field access
Query Access (access flag)
attribute
relation attribute for mask-field (T_MAS_FLD)
type, entry
string, entry optional
max. no. of characters
1
selection tool
menu with all access-settings
multilingual field
no
Query Access determines a user's access privileges after selecting Search.
More information:
-> Field access
Video
This determines the field's color in the current mask. Colors can also be assigned globally using the Client Settings tool.
More information:
-> Color settings for fields and field titles
Menu
A selection tool is linked to the field. The tool is available while the user is editing the field. The selection tool's name depends on the type of tool.
More information: -> Selection tools for fields
You can only enter the name of a mask (component) if the field is a placeholder (Syntax: @MASKNAME in fieldname). The mask component is then placed in its parent mask. You'll only want to place form components into a parent form or list components into a parent list.
More information:
-> Mask components
Type (menu type)
The type and name of the tool you attach to a field must match.
Note! Field selection tools of type M (menu) and L (List box) from DataView versions prior to 4.1 are automatically displayed as choice-boxes from version 4.1 onwards. The old M or L entries are retained, but are no longer supported in new records.
More information:
-> Selection tools for fields
Pre/Field Userexit
The Pre_Field userexit is executed before a field is entered in an Edit state (only for Update and Insert modes, not Query or View).
Post/Field Userexit
The Post_Field userexit is executed before a field is entered in an Edit state (only for Update and Insert modes, not Query or View).
Hyper Field Userexit
A hyper-field trigger enables functions to be executed by a simple mouseclick. If a Hyper_Field userexit is installed and the field is not empty, the field content will be displayed as underlined when the mouse pointer moves over it. The mouse pointer changes. A mouse click will then trigger the action.
Hyper_Field userexits are especially useful for default menu userexits (which are not available in the selection menu).
Form
Reconfigure
A new or modified mask (its mask attributes, field assignments) must first be copied into main memory, before changes are visible in the user interface.
When you create a mask component in local memory, DataView automatically updates all the masks in main memory to which the component belongs (even indirectly). Parent objects which are already in main memory need not be updated. Delete Mask
Field Assignment (menu only)
Field Default (menu only)