Cicode Programming Reference > Cicode Function Categories > Device Functions Introduction > DevDelete

DevDelete

Deletes the current record in a dBASE database device. The record is not physically deleted, but is marked for deletion. You can physically delete the record by packing the database with the DevControl() function.

Syntax

DevDelete(hDev)

hDev:

The device handle, returned from the DevOpen() function. The device handle identifies the table where all data on the associated device is stored.

Return Value

0 (zero) if the record is successfully deleted, otherwise an error is returned.

Related Functions

DevOpen, DevClose, DevControl

Example

! Delete the current record.
DevDelete(hDev);

See Also

Device Functions