LogiView

Function 'row_count'

     

This function returns the number of existing records (lines) in the specified widget. This function could be compared with the function 'mas_ret_len_rec' of the DataView programming interface.

 

Syntax:

  {INT_VAR}= row_count({WDG_ID})
 

I/O parameters:

{WDG_ID} ID of the widget for the mask.
-  
 

Return value:

 
{INT_VAR} Number of existing records.
 

Example:

  Declaration of Variables
 
 10   DOKU_INT_1 = row_count (widget_id())	
 20   I = 1	
 30   while (I <= EP_COUNT)
 40 C Reading and editing data
 ..   ....
130   I = I + 1	
140 done	
  Result:
  The loop is performed until all lines in the current widget have been processed.

Functions and commands: Editing Masks