Object is not contained in a "name" (Error 1938)

This message is produced by the scope operator when the parent class you have specified is not in the inheritance hierarchy of the current (THIS) object. For example, this error will occur if you put FORMSET::Click in the Click event of a form that is not contained in a form set.