REC_DEL(1)
PURPOSE
This function will determine whether or not the active record is marked as deleted or not.
PARTS
1 f/c/e | Required - The file number/handle to be checked. |
RETURN TYPE - L
If the record is marked as deleted the function will return .T.; otherwise it will return .F.
COMMENTS
This function works only with CodeBase files. When a record is deleted it is still in the active records. It is deleted from all the indexes so if you search for records via one of the indexes you'll never see a deleted record. However, if you search through the file using index 0 (@0), or the record number instead of an index, you will see all the records, included those that have been deleted. Through the use of this function you can test for those easily and just ignore the ones that return True.
NOTE: If you test for deleted records in a Btrieve file this function will always return False.
See Also DELETED()
NOTE: for some reason the original creator of TAS Professional made a change in the system and removed this function so for compatibility we have added both DELETED() and the REC_DEL() there is a deference on the two functions. the deleted() return a .F. and the REC_DEL() returns a .T. This move on our part to do this is for compatibility reasons only.
Page url: http://www.cassoftware.com/tas/manual/isrecorddeleted().htm