#

# LogiView

## Function 'row'

| This function returns the line number from the active widget for which the LogiView procedure was called. The line number is returned from DataView to LogiView as second part of the standard parameters (output the complete standard parameter with the standard function par()). The standard parameter does not change during the complete runtime of the LogiView procedure, even if a new widget is opened in LogiView or another data record is selected or edited. If LogiView is called with one of the userexits 'lgv_edt_act', 'lgv_pre_act', 'lgv_post_act', 'lgv_pre_fld', 'lgv_post_fld' or 'lgv_sel_run', this function returns the current line in the mask for which the LogiView procedure was called. 'lgv_sel_run' calls the defined procedure for each line and sets the respective variable returned by row().
| When resetting deleted data from the trash basket (rollback) the function returns the value "0". However, the database access to the reset record is possible using the keyword "actual".
| ### Syntax:
| {INT_VAR}= row()
| ### I/O parameters:
| - |
| - |
| ### Return value:
| {INT_VAR} | Line number
| ### Example:
| Declaration of Variables
     80    EP_WDG = widget_id()
     90    EP_ROW = row()
    100    field_write(EP_WDG,"EDB_GPR_TYPE",EP_ROW,EP_CLSATT_TYP)
| Functions and commands: Editing Masks