ReReadRecord Reread current ISAM record. Short Name RRDREC() Type ISAM function Declaration COUNT ReReadRecord(COUNT datno, pVOID recptr) Description ReReadRecord() provides a simple way to reread the current ISAM record for fixed-length data records belonging to data file number datno. The record is read into the record buffer pointed to by recptr. Use ReReadVRecord() to reread the current ISAM record for a variable-length data file, unless only the fixed-length portion of the variable-length record is needed. As of c-tree Plus V8.14, c-tree sets the current ISAM position after a record is added such that the next or previous record can be read without having to re-read the record just added. Prior to V8.14, the current ISAM position was not set to a newly-added record and an INOT_ERR (101) error would result if you tried to read either the next of previous record. Return
See c-tree Plus Error Codes for a complete listing of valid c-tree Plus error values. Example COUNT datno; TEXT buffer[256];
printf("\nCould not reread record (%d)",isam_err);
LockISAM(ctFREE); return(-1); } See also ReReadVRecord(), the LOCK discussion of multi-user updates in “Multi-User Concepts” of the c-tree Plus Programmer’s Reference Guide and the source code of CTIXMG.C. |
|||||||||||||||||||||