Hello All,
I need some inspiration!
I have created a form. The form also has a subform which is a continuous form.
The form will be used to enter results from matches played in our local cribbage league. I will explain how matches are played.
In any match there are two teams, A and B.
Each team has six players.
Players play in pairs.
Three games constitute a match.
Pair 1 from the home team play 5 legs against Pair 1 from the away team etc.
Once the match is completed the whole team of 3 sets of pairs will have played a total of 15 legs.
The team with the highest total of legs won is the match winner.
The problem I have is that a single player can only be selected once in the match.
I have created combo boxes to select the players from the list of players registered with each team. The record source for the combo boxes are queries selecting the relevant players.
When I come to select the first player, everything works fine. But when I come to select his partner, I can still select the first player again!
So, how do I stop this from happening? I realise that I need to eliminate the players from a team if they have already been selected. But how?
I would appreciate any help you can offer.
Thanks
I need some inspiration!
I have created a form. The form also has a subform which is a continuous form.
The form will be used to enter results from matches played in our local cribbage league. I will explain how matches are played.
In any match there are two teams, A and B.
Each team has six players.
Players play in pairs.
Three games constitute a match.
Pair 1 from the home team play 5 legs against Pair 1 from the away team etc.
Once the match is completed the whole team of 3 sets of pairs will have played a total of 15 legs.
The team with the highest total of legs won is the match winner.
The problem I have is that a single player can only be selected once in the match.
I have created combo boxes to select the players from the list of players registered with each team. The record source for the combo boxes are queries selecting the relevant players.
When I come to select the first player, everything works fine. But when I come to select his partner, I can still select the first player again!
So, how do I stop this from happening? I realise that I need to eliminate the players from a team if they have already been selected. But how?
I would appreciate any help you can offer.
Thanks