DtvLong dal_dbi_del_elm (idn, tab)

Completely deletes the record with the passed ident number including all internal references from the DataView data structure.

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

Output Parameters Significance
no -

Return Code Significance
0 no error
1 original table not registered in DataView data dictionary
-1 data base error deleting the records

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.