The control tables are a very simple method to create validity controls, that can be set up for certain entry fields. These control tables are used to define the coherence controls on the data being entered, and notably:

In a more general fashion, the control table allocation function is used to associate a control table to any of the screen field of the software in order to add additional coherence controls defined by the user. These controls are an addition to the carried out standard controls.

Each table is characterized by a 10-character alphanumeric code, and by associated control parameters. Up to three simultaneous controls can be defined; they can be of different types and are checked successively:

  • mandatory value entry if a condition is met.
  • presence in a vlaue list.
  • exclusion from a value list.
  • presence in a table.
  • inclusion in an interval.
  • check of a calculation formula.

Prerequisite

SEEREFERTTO Refer to documentation Implementation

Screen management

The entry of these tables is made on three identical tabs, each defining a control.

Header

The screen header defines global conditions linked to the control, each following tab being identical and used to carry out successive controls (hence, only one tab is displayed in the remaining part of the document).

If an existence control in a table is declared in one of the tabs, the following tabs' conditions can exploit the fact that this table is on-line. So, for example, if one of the tables refers to table TABCUR (abbreviation TCU) to check that the entered field is a currency code, the following controls can intervene on the table field, such as [TCU]CURRND.

Tab Control 1

In these tabs, there are successive controls to carry out (after a possible control of the mandatory field) on the field controlled by the table.

Besides the control type (which can be None if all necessary controls have already been defined in the header or in the previous tabs), there are the elements relating to the control (value list, table, intervals, etc.), as well as an error message to be displayed if the control is not satisfactory.

Specific Buttons