The Safe X3 softwares are used to define, in a certain number of setup functions, assessed formulae to define either a selection criterion or the content of a field. In order to facilitate the task of the persons in charge of the setup, a formulae editor can then be used.
This function is used to define the headings that can be accessed in the quick select list of the formula editor. These headings, identified by a name and a title, can be of several types:
It must be noted that it is possible to define a list of headings that can be used whatever the context and/or a list for for a given functional context.
The specific processing can add elements allocating them a code starting with X, Y or Z. The local variables are systematically protected. The global variables and functions are protected by activity code respectively placed on the variable dictionary or on the sub-program dictionary.
Refer to documentation Implementation
Presentation
The single screen is used to indentify the context and the type of header heading. Then the list of headings to display in the formula assistant are entered in a grid.
Close
Fields
The following fields are present on this tab :
Block number 1
|
This type, identified by local menu 2945, identifies the category for the elements that can be selected from the left list in the formula assistant. These elements are found in the form of a tree structure. The root lines of the tree structure can correspond to one of the categories defined here or with the labels for the tables or the screens on-line. |
|
Defines the code for the function where the context must be described. This code is mandatory for the local variables. |
Grid List of values
|
Defines the code for the section accessible in the formula editor. This section can be the name of a variable, or a code for a function in the form TRAITEMENT/FONCTION (process/function). |
|
|
Close
The following fields are included on the window opened through this button : Block number 1
Block number 2
Close This button is used to copy the record definition from or to another folder. |
In addition to the generic error messages, the following messages can appear during the entry :
The global variables which are not system variables must be defined in the global variable dictionary.
The functions must all be defined in the function dictionary. They are identified here in the form of a processing/sub-program.
Only the functions capitalized in the sub-program dictionary can be entered here.