K
Katie
Syntax Help Needed!
I am having difficulty finding the right syntax to make this work.
When the subform is all by itself, it works fine, filtering for contacts of
a particular type, but when it is opened as a subform on a page of a tabbed
sheet on a main form, it does not, and I can't seem to find the syntax to
make it work.
Here is what I have that works for the form by itself:
Private Sub cboFindRelationship_Change()
Me.Filter = "RelationshipType =
forms!frmContactAssignmentSub!cboFindRelationship"
Me.FilterOn = True
End Sub
How do I adjust this so it will work when
the frmContactAssignmentSUb is acting:
as a subform
on a page "pageContacts2"
on a tabset "tabContactsTabset"
on a form "_Company"? The form (complete with underscore) was named before
I got my hands on it.
The combo box is on the subform header, and the field to be filtered is on
the subform detail.
Any help would be appreciated!
I am having difficulty finding the right syntax to make this work.
When the subform is all by itself, it works fine, filtering for contacts of
a particular type, but when it is opened as a subform on a page of a tabbed
sheet on a main form, it does not, and I can't seem to find the syntax to
make it work.
Here is what I have that works for the form by itself:
Private Sub cboFindRelationship_Change()
Me.Filter = "RelationshipType =
forms!frmContactAssignmentSub!cboFindRelationship"
Me.FilterOn = True
End Sub
How do I adjust this so it will work when
the frmContactAssignmentSUb is acting:
as a subform
on a page "pageContacts2"
on a tabset "tabContactsTabset"
on a form "_Company"? The form (complete with underscore) was named before
I got my hands on it.
The combo box is on the subform header, and the field to be filtered is on
the subform detail.
Any help would be appreciated!