LogiView

Command 'row_select'

     

This command (de-)selects either one or all records (lines) of the specified widget. This command could be compared with the function 'mas_set_drt_rec(...,'+')' of the DataView programming interface.

This command must not be called with a conditional instruction.

 

Syntax:

  row_select({WDG_ID},{0|ROW})
 

I/O parameters:

{WDG_ID} ID of the widget for the mask.
{0|ROW}
0 Select all lines.
ROW Line to be selected. In case of a negative value the corresponding line is deselected.
-  
 

Return value:

 
-  
 

Example:

  Declaration of Variables
 
10 DOKU_INT_1 = row_count(widget_id())
20 if (DOKU_INT_1 > 0)
30   row_select(widget_id(),0)
40   DOKU_INT_2 = @xstate_nxt_sta("230")
50   if (DOKU_INT_2 == 0)
60     put ("Transfer successfully completed!")
70   endif
80 endif
  Result:
  If the current widget contains records, all lines are selected and the userexit 'xsta_nxt_sta' is called in order to set the records in the state "230" (release).

Functions and commands: Editing Masks