Here it is
Here is a bit of it. I click a command button called Kickoff. The form then instructs the user to select a kicker. I want the code to then wait until a kicker is selected from the text box. Then the code instructs the user to input where the ball was kicked to. I want to code to wait until that selection is made. Then, the form instructs the user to select a kick return person. Then wait again for that selection and finally, select the yardline returned to. As we all know, the code executes right through to the end.
Private Sub Kickoff_Click()
If Me.Possession = 1 Then
Me.Home_Roster.RowSource = "qryHomeRoster-Kicker"
Me.Opponent_Roster.Enabled = False
Me.Directions = "Select a kicker"
'Need code to wait here while the selection is made.
'Ask user for the yardline the ball was kicked to.
Me.Directions = "Yardlined kicked to?"
'Need code to wait here while the selection is made.
'Ask the user who is the kick returner and disable the Home roster.
Me.Opponent_Roster.RowSource = "qryOppRoster-KickRet"
Me.Opponent_Roster.Enabled = True
Me.Home_Roster.Enabled = False
Me.Directions = "Select kick return player"
'Need code to wait here while the selection is made.
Me.Directions = "Yardline returned to?"
DoCmd.GoToRecord , , acNext
'Enable the Home Roster
Me.Home_Roster.Enabled = True
Exit Sub
End If