DtvLong dal_dbi_del_lis (idn, tab)

Completely deletes the records with the passed ident numbers including all internal references from the DataView data structure.

Input Parameters Significance
DtvLong *idn ident number list of the records
char *tab name of the original table of the records

Output Parameters Significance
no -

Return Code Significance
0 no error
1 original table not registered in DataView data dictionary
2 list-length too small or too large
-1 data base error deleting a record

This function should always be called when you use userexits to execute your own delete operations in the data base.

Whenever possible, delete records using virtual widgets. Only then DataView automatically evaluates the delete and check flags, the access to the record, and record locking. Additionally the userexits at the pre_ and post_action-trigger for Delete-Mode are executed.

This function is identical with dal_dbi_del_elm, but it allows you to delete up to 19 records simultaneously.

The last element of the ident number list must carry the value > 0 < as end identifier. The list may not consist of more than 20 elements.