ibec_ds_Delete

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

Syntax

  function ibec_ds_Delete(Dataset : variant) : variant;

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.

Example

Dataset example

back to top of page
<< ibec_ds_Close | IBEBlock | ibec_ds_Edit >>