Entry points > Module Supervisor > Standard script GOBJACT 

SELRAPOBJ : Quick selection

This entry point is positioned in the subprogram that constitutes the filter that will be applied to the selection. This subprogram is called for each validation of a criteria entry in the columns of the left list in an object management window.

Context and operating method

Entry point SELRAPOBJ is called after each validation of a criteria entry the columns of the left list in an object management window.
The criteria entered in each column are stored in the SAIRAP(30)(1..16) variable.
The result of the criteria that will be applied as a filter to Choose is stores in variable FILRAP(250)(0..1)

The OBJET variable contains the code of the left list on which the rapid selection has been done. Other available variables come from the call to the "WO"+OBJET process's subprogram OUVRE_LISTE.
For instance, NBSEL contains the number of columns displayed, SELEXP (no column) contains the expression of the column displayed.

This entry point can be used to modify the content of the FILRAP filter in order to use, for instance, the " symbol (not taken into account in standard mode°. In that case, the process is not executed to its end if the GPE variable is positioned to 1.