R
RWalther
I have a form containing a drop-down of Team Leaders and a subfor
displaying team members info that is linked to the main form throug
the TeamLeader ID.
I just have one problem. One person in the Team Leader list is th
overall leader and all people belong to this person. All the tea
members in the table have a field teamleaderID that links them to th
appropriate TeamLeader. I could not put two teamleaderID's in the sam
field, for the team leader and the overall leader (the same for al
records).
Now, I do not know how I can tell the link between form and subfor
that it should display all data in the case that teamleaderID #4 fo
the overall leader has been chosen from the combobox in the mai
form. In my research I found the ShowAllRecords Action and I trie
the following on After Update Event, but it does no
work:
Private Sub TeamLeaderID_AfterUpdate(
If (TeamLeaderID = 4) The
DoCmd.ShowAllRecord
End I
End Su
Greetings,
Rache
displaying team members info that is linked to the main form throug
the TeamLeader ID.
I just have one problem. One person in the Team Leader list is th
overall leader and all people belong to this person. All the tea
members in the table have a field teamleaderID that links them to th
appropriate TeamLeader. I could not put two teamleaderID's in the sam
field, for the team leader and the overall leader (the same for al
records).
Now, I do not know how I can tell the link between form and subfor
that it should display all data in the case that teamleaderID #4 fo
the overall leader has been chosen from the combobox in the mai
form. In my research I found the ShowAllRecords Action and I trie
the following on After Update Event, but it does no
work:
Private Sub TeamLeaderID_AfterUpdate(
If (TeamLeaderID = 4) The
DoCmd.ShowAllRecord
End I
End Su
Greetings,
Rache