The variable name is not part of the components of the record. Check the record declaration and its components to verify that you have correctly declared the variable with this name.