A subform is not open on its own when part of a parent form. Instead, you
must reference it through the parent form, and you must use the name of the
subform control (the control that holds the subform object in the main
form):
Forms!NameOfParentForm!NameOfSubformControl![txtError] =
Me.[cboDescription].[Column](3)

Signature
Ken Snell
<MS ACCESS MVP>
>I want a control on a subform (on a Tab) to inherit a value under certain
> conditions when two other controls on the main form are filled. The code
[quoted text clipped - 15 lines]
> End If
> Would appreciate any suggestions.
Susan L - 17 Dec 2005 18:52 GMT
Thanks, Ken. Your response solved not one, but three problems! Thanks again.

Signature
susan
> A subform is not open on its own when part of a parent form. Instead, you
> must reference it through the parent form, and you must use the name of the
[quoted text clipped - 22 lines]
> > End If
> > Would appreciate any suggestions.
Ken Snell (MVP) - 17 Dec 2005 19:25 GMT
Three for the price of one... not a bad deal! Glad it's working for you.
You're welcome.

Signature
Ken Snell
<MS ACCESS MVP>
> Thanks, Ken. Your response solved not one, but three problems! Thanks
> again.
[quoted text clipped - 33 lines]
>> > End If
>> > Would appreciate any suggestions.