I have a database that is a very simplistic sports pool database:
Tables
- Participants
- memberID (PK)
- memberName
- Teams
- teamID (PK)
- teamName
- Schedule
- gameID (PK)
- gameDate
- visitorID
- homeID
*It is possible to have multiple games on the same day
- Predictions
- memberID (PK)
- gameID (PK)
- selectedWinnerID
- actualWinnerID
=======================================================
I am trying to create a form that does the following
- combo box that has list of participants
- for each participant
Any help is very much appreciated.
Tables
- Participants
- memberID (PK)
- memberName
- Teams
- teamID (PK)
- teamName
- Schedule
- gameID (PK)
- gameDate
- visitorID
- homeID
*It is possible to have multiple games on the same day
- Predictions
- memberID (PK)
- gameID (PK)
- selectedWinnerID
- actualWinnerID
=======================================================
I am trying to create a form that does the following
- combo box that has list of participants
- for each participant
- show option group of games (from Schedule table)
- schedule default is current day
- list Visitor and Home
- allow the user to select winner using Radio Button
- update Radio Button if user previously selected a winner for the game
- no default value (if user does not select a winner, there is no selection for that game)
- SAVE button inserts into Predictions table
The piece I am having problems with is creating the option group for each game in the schedule. Once I get each game presented in an option group, inserting into the Predictions table is a walk in the park.- schedule default is current day
- list Visitor and Home
- allow the user to select winner using Radio Button
- update Radio Button if user previously selected a winner for the game
- no default value (if user does not select a winner, there is no selection for that game)
- SAVE button inserts into Predictions table
Any help is very much appreciated.