Column description
January 2012
Description of the individual columns takes place in the configuration editor.
Enter the code number 95148.
Press the CONFIG DATA soft key.
Select the object System/TableSettings/Columns.
Press the INSERT soft key.
Enter the name of the new column (see column name under table
description). Add the extension as a prefix to the column name
([extension].[column]) if you want to assign the new column to a specific
table type. For example: TAB.POS1
Select the object System/TableSettings/Columns/
CfgColumnDescription.
Press the INSERT soft key; confirm the suggestion with OK.
Select MP_width; enter the max. column width (number of characters).
Select MP_unit; enter the unit of measurement.
Select MP_initial (optional parameter); enter the default value.
Select MP_minimum; enter the minimum value for numerical values.
Select MP_maximum; enter the maximum value for numerical values.
Note
It is essential that you enter the minimum and maximum values!
Select MP_charset (optional parameters); defines the number of
permissible characters. If the number is not defined, all characters are
allowed.
Select MP_unique (optional parameter); insert this parameter if the column
is to contain unambiguous values. If the attribute is not defined, the same
values may appear more than once in different rows.
Select MP_readonly; protect data from access; The column representing
the "primaryKey" of the table should be write-protected (set MP_readonly to
TRUE).
Select MP_ unitIsInch; specify the unit of measurement.
Select MP_choice (optional);
A list of value/text pairs can be defined here. Only these texts are then
available in the table via a selection list (in the Programming mode of
operation, the COLUMN NAME soft key opens the selection list). This
stands for a value, which is then displayed. The text for the selection list can
be entered directly (MP_text), or you can enter a link to a dialog table
(MP_dialogRes).
Select MP_value (optional); enter the value for MP_dialog.
Select MP_dialog (optional);
Select MP_dialogRes (optional); leave the attribute empty if the text is not
to be language-sensitive.
Select MP_text (optional); enter the text for MP_value.
(keep MP_width in mind)
8.12 Tables
1599