The softwares in technology Adonix provide in the standard table dictionary indexes designed to manage integrity constraints (by unique keys) and to give a in most cases a good response time (standard indexes used for the left lists, the large batch tasks, standard queries). These indexes are carried by 1 to 16 fields. In the indexes of this type, it is not possible to use an indexed field with an index greater than 1. Thus, for example, it is impossible to create an index on the second line of an address in the dictionary .
In certain specific cases, it is useful to use the setup to create the indexes in order to achieve a specific optimization (for example in a report or to optimize a complex inquiry). A typical example of this is the addition of an index to a large table to accelerate the creation of data in an inquiry created by the requestor, or the use of a dedicated index in the object setup, to use a specific order in a left list.
This function is used to create indexes with the following properties by means of setup :
Because it is part of the setup, the function is the means to create perpetual indexes: existing indexes are not updated by new software versions. On the other hand a new software version is likely to add new indexes to the list (but these indexed will systematically be proposed as de-activated).
It is important to understand that these indexes should only serve to optimize standard processes, left lists or inquiries. If an index is required within the framework of a specific/custom development, it is necessary to consider that this index must be defined in the data dictionary and saved by an activity code.
Refer to documentation Implementation
Presentation
The entry of additional indexes is made in a grid, where are defined, table by table the indexes to create:
Close
Fields
The following fields are present on this tab :
|
Specify the table in which the index will be added. |
|
The code for a supplementary index should commence with SPE_. The index code must be unique . |
|
Specify the fields from the table from which the index is composed. The fields must be separated by the sign - or +. |
|
This indicator makes it possible to remove a table index. |
|
  |
Close
|
The following fields are included on the window opened through this button : Block number 1
Block number 2
Close This button makes it possible to transfer the contents of the complete table to another folder. |
In addition to the generic error messages, the following messages can appear during the entry :
The field with the name specified does not exist in the index that is currently being defined.
This index already exists as a standard index for the table.
The name proposed for the index is invalid.
An index has already been created with the same name.