#

# LogiView

## Command 'select_typ'

| This command is used to open a virtual widget with the list mask for the specified type, that is used to select records. See also DataView function 'iwf_lis_typ'. If this command is called without transfer string - i.e. 'select_typ( )' only -, the database search is performed in the mask of the currently activated widget. Calling the 'var' command specifies the variables to be assigned. Without this command only the number of matching records is returned (to the function 'execute').
| This command must not be called with a conditional instruction.
| The nested use of commands may lead to problems. This is the case when exactly the same parameter strinb is used. Example
| ### Syntax:
| select_typ({STR_EXPR| })
| ### I/O parameters:
| {STR_EXPR} | Name of entity-1 <space> Name of type <space> Name of list mask
| - |
| ### Return value:
| - |
| ### Example:
| Declaration of Variables
    10 C -- VAR9: Number of variant bar
    20   select_typ("EDB-ARTICLE VAR9")
    30   var(ART_PAR)
    40 C -- P1: Parameter of variant bar
    50   where ("VAR9.C_1"=DOKU_INT_1)
    60   DOCU_INT_1=execute(1,choose)
| Result:
| The item from variant bar 9 is selected; its attribute C_1 has the same value as the variable DOCU_INT_1.
| Functions and commands: DB/Mask Interface