|
This command opens a virtual widget in the list mask of the specified entity in which data records are to be deleted (temporarily). See also 'iwf_lis_ent' DataView function. |
||||||
![]() |
This command must not be called in a conditional instruction. If this command is called without a transfer string - i.e. just 'delete_ent( )' - a database query in the mask of the active widget is executed before the data records to be deleted and are copied into the trash can (i.e. deleted temporarily). In order to delete such records permanently, the trash can must be emptied. However, this will delete all files in the trash can permanently, including records that have been moved to the trash can interactively. Generally speaking, users can only delete records for which they have write access! |
||||||
![]() |
The nested use of
commands may lead to problems. This is the case when exactly the same parameter
strinb is used.![]() |
||||||
Syntax: |
|||||||
delete_ent({STR_EXPR| }) | |||||||
I/O parameters:
|
|||||||
Return value: |
|||||||
|
|||||||
Example: |
|||||||
Declaration of Variables | |||||||
70 delete_ent ("MASK") 80 where (("T_MASK.C_NAME" = EP_FORM) | ("T_MASK.C_NAME" = EP_LIST)) 90 RES = execute (2) 100 if (RES != 0) 110 RES = @wdh_del_tra () 120 put ("Masks have been deleted (trash can empty)!") 130 else 140 put ("No masks available!") 150 endif |
|||||||
![]() |
Functions and commands: DB / Mask Interface |