meta data for this page
  •  

ibec_ds_Delete

Deletes the active record and positions the cursor on the next record.

Description

Call ibec_ds_Delete to remove the active record from the database. If the dataset is inactive, ibec_ds_Delete raises an exception. Otherwise ibec_ds_Delete:

  • Verifies that the dataset is not empty (and raises an exception if it is).
  • Deletes the record.
  • Frees the buffers allocated for the record.
  • Puts the dataset into __dsBrowse mode :
  • Resynchronizes the dataset to position the cursor on the next undeleted record.

Syntax

 function ibec_ds_Delete(Dataset : variant) : variant;

Example