Default Elements of Selection
This parameter is used to define the number of lines read by default when a selection window is opened for a table.
Level of localization / Global variable
This parameter is defined at the level User. It belongs to Chapter SUP (Supervisor) and the Group SEL (Lists and selections), The following parameters are also associated with this chapter and group :
- CHDERLUS (Load last read)
- GRPLIAISON (Link group)
- LFTBOX (Number of quickselect elements)
- LFTBOXTUN (Left list fill on tunnel)
- LIAISAUTO (Auto links)
- NBDERLUS (Last read lines)
- SELGLO (Global selection)
- SELRAPCAS (Case sensitive in rapid search)
The global variable GNBSEL is associated with it.
Linked parameters
The following parameters are linked to the parameter NBRCHOOSE :
Supervisor
LFTBOX (defined at level User) : Number of quickselect elements
NBDERLUS (defined at level User) : Last read lines
Functions concerned
All the functions where a field is controlled by a table can be selected (shortcut key).
Comments
It should be noted that in version 120 and 130, this parameter exists only as a global value.
Performance optimization
The loading time of the lists (left lists, selection, last read) which, in some cases, is necessary for each access to an object, is proportional to the number of elements read, and it consumes resources, both at the level of the processing server and the data server.
In a situation where there is a large number of users, and moreover using complex filtering rules on the data, these queries can have a significant impact on the general perfomances of the system.
Since this parameter allows the number of lines read to be restricted, while still allowing the next lines to be read by means of a simple pagination, it is recommended to give this parameter a reasonable value (for instance, the content of a screen page), although it is possible, in some particular cases, to go well beyond (like several thousand lines).