DSC Tech Library
FASTPLUS C Library
fprecord_delete()
Function fprecord_delete is used to delete a record and all keys defined to the data
record.
The syntax for fprecord_delete is as follows:
fprecord_delete(int file_id, unsigned int recno)
int file_id - File unit of open file from previous
fpfile_open function.
int *recno - Record address from a previous get/lock operation.
The possible values for fperrno and an explanation of each value follow.
Value Explanation
--------------------------------------------------
FEROK - Code 0: Successful FASTPLUS Operation
FERACC - Code 2: Illegal access rights
FEROPN - Code 5: FAST file does not exist
FERUNT - Code 6: Illegal FAST file id
FERFHE - Code 9: System file error
FEREXT - Code 12: Record not found
FERLOK - Code 15: Record locked
|