LastInRange Read the last data record in a range Short Name LSTRNG() Type ISAM function Declaration COUNT LastInRange(COUNT keyno, pVOID recptr) Description Read the last data record in a range established by a call to AllocateRange(). If successful, the record becomes the current ISAM record for the associated data file. A successful LasttInRange() defines a current key value set, and subsequent calls to NextInRange() or PreviousInRange() will read the other records in the range. If the data file has variable-length records, only the fixed-length portion of the record is actually read. You can use ReReadVRecord() to retrieve the whole record, including the variable length portion. You can use LastInVRange() to read the whole variable length record with one function call. Return
See c-tree Plus Error Codes for a complete listing of valid c-tree Plus error values. See also AllocateRange(), FreeRange(), FirstInRange(), FirstInVRange, LastInVRange, NextInRange(), NextInVRange, PreviousInRange, PreviousInVRange |
||||||||||||