Name is used as if it were a member of the record record-name, but no member of that name exists. Check the spelling of the two names, and review the declaration of record-name.