0057

From BR Wiki
Revision as of 17:14, 7 April 2021 by John (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

Summary:

NoRec / Record not found

Cause:

A program tried to access a record in a relative file but could not find the record (record was deleted or is beyond end of file), or an index file points to a record that does not exist in the keyed file or was deleted.

Remedy:

Correct the error-causing program statement to specify a valid record number. Or add a NoRec error trap to the end of the line. LRec(file number) returns the number of the last record in the file.