LogiView

Command 'delete_typ'

     

This command opens a virtual widget in the list mask of the specified type in which data records are to be deleted (temporarily). See also 'iwf_lis_typ' (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_typ( )' - a database research 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 records permanently, you need to empty the trash can after deleting them temporarily. However, this will delete all files in the trash can permanently, including records that have been moved to the trash can manually.

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.
Example
 

Syntax:

  delete_typ({STR_EXPR| })
 

I/O parameters:

{STR_EXPR} name of Entity 1 <space> name of type <space> name of list mask
-  
 

Return value:

 
-  
 

Example:

  Declaration of Variables
 
10 delete_typ("EDB-DOCUMENT DRAWING") 
20 DOCU_INT_1=execute(0)
  Result:
 

All documents of type "DRAWING" are moved to the trash can.

Functions and commands: DB / Mask Interface