DB_DeleteRecord deletes a record. If viewptindex != NULL, then viewptindex returns the index at which the record was removed.
Syntax: int DB_DeleteRecord(DBBLOCK *dblk, char recordtype,
RECORDNUM recordnum, int *viewptindex);
DB_NOTFOUND Recordnum is not in the database.
DB_READ Cannot read the disk.
DB_SEEK File is probably corrupt.
DB_DELETED Record is already deleted.