TO0201 - npruehs/tome-editor GitHub Wiki

"The record ... referenced by record ... field ... does not exist."

Summary

  • Name: ReferencedRecordDoesNotExist
  • Code: TO201
  • Category: Data Integrity
  • Severity: Error
  • Since: 0.9

Each field of type Reference and each derived type with base type Reference that has been added to a record may or may not reference another record. If a record is referenced, that record must exist.

Example

The following steps generate this type of error:

  1. Add a field of type Reference.
  2. Add that field to an existing record.
  3. Set the value of that field to another existing record.
  4. Save the project.
  5. Open the data file in a text editor, and manually remove the existing record.

How To Fix

Change the value of the Reference field to an existing record.