I am constructing a small sports club db
I have a player table which includes playerID as the primary key
I also have a team table which has a teamID field as the primary key and stores the 5 playerID numbers of the selected 5 players.
I have used the lookup wizard in my team table to look up the player id from my player table and this works fine
I now want to prevent the coach from selecting the same player twice in the same game.
Is there a way of modifying my lookup code to do this - possibly by writing a query?
Any help would be greatly received
diolch yn fawr
I have a player table which includes playerID as the primary key
I also have a team table which has a teamID field as the primary key and stores the 5 playerID numbers of the selected 5 players.
I have used the lookup wizard in my team table to look up the player id from my player table and this works fine
I now want to prevent the coach from selecting the same player twice in the same game.
Is there a way of modifying my lookup code to do this - possibly by writing a query?
Any help would be greatly received
diolch yn fawr