I am stumped again (which is not too tough to do).
I have a junction table (JT) I want to update via a form. The JT includes an ID from a list of players (PlayerID) and an ID from a list of teams (TeamID) as well as a unique autonumber field. Clearly, one team will have many players. In this situation, a player can play form many teams, hence the JT.
My form has two subforms both in Datasheet format. One lists the roster of a given team and the other allows users to query the table of players to narrow their selection to one category (usually 25 to 30 players). The user must choose the player to add from the category filtered list in hte subform. What I have been unable to make happen is to update the selected team with a selection from the player category. Clearly, this must involve adding a record to the JT with each ID number.
I have experimented with a field looking to the "active" record as selected on the category subform then appending the JT with that value as well as the ID value from the selected team by using a button. However, my knowledge of VBA (or lack thereof) did not allow me to find a set of commands to make that happen. If there is a better method, I am open to suggestions and willing to experiment further.