#

# LogiView

## Command 'update_ent'

| This command is used to open a virtual widget with the list mask for the specified entity, that is used to change records. See also DataView function 'iwf_lis_ent'.
| This command must not be called with a conditional instruction.
| If this command is called without transfer string - i.e. 'update_ent( )' only -, the database search is performed in the mask of the currently activated widget for the records to be changed and then these records are modified and saved. By calling the 'var' command the variables to be used (and hence the table fields to be written) are specified.
| The nested use of commands may lead to problems. This is the case when exactly the same parameter strinb is used. Example
| ### Syntax:
| update_ent({STR_EXPR| })
| ### I/O parameters:
| {STR_EXPR} | Entity name [<space> Name of list mask]
| - |
| ### Return value:
| - |
| ### Example:
| Declaration of Variables
    170  update_ent("ARP_PRO_MPC EDB-ARP-MPC01-SLI")
    180  var(ARP_MPC_AUFW,ARP_MPC_KST_VK,ARP_MPC_KST_GK)
    190  where("ARP_PRO_MPC.ACT_NR"=ARP_ACT_NR)
    200  where(& "ARP_PRO_MPC.LFD_NR"=ARP_LFD_NR)
    210  where(& "ARP_PRO_MPC.PROJ_STATUS"=ARP_STATUS)
    220  DOCU_INT_1 = execute(1)
| Functions and commands: DB/Mask Interface