Exit with error when record fields are repeated