Is the field/column part of the passed relationship ? In MS Access, any foreign key constraint is associated with a DAO Relation object.
The DAO relation object
(no description)
The field/column name
Compare the name from the Relation ForeignName property instead of the Name property
Debug.Print RelationContainsField(rel, "ProductID") --> True