I have a form on which I have a few combo boxes. What I want to do is display different text in a textbox depending on the criteria in the combo boxes. However, when I put the code in the AfterUpdate event of the combo it gives me an error say something about Focus. The code is as follows:
' If cboMath1PF.Text = "N" Then
' txtMathSkills.Text = "No Active Record"
' ElseIf cboMath1PF.Text = "P" And cboMath2PF.Text = "F" Then
' txtMathSkills.Text = "Failed"
' ElseIf cboMath1PF.Text = "F" And cboMath2PF.Text = "P" Then
' txtMathSkills.Text = "Failed"
' ElseIf cboMath1PF.Text = "P" And cboMath2PF.Text = "P"
' End If
Can someone please give me some insight?
Thnkas in advance.
' If cboMath1PF.Text = "N" Then
' txtMathSkills.Text = "No Active Record"
' ElseIf cboMath1PF.Text = "P" And cboMath2PF.Text = "F" Then
' txtMathSkills.Text = "Failed"
' ElseIf cboMath1PF.Text = "F" And cboMath2PF.Text = "P" Then
' txtMathSkills.Text = "Failed"
' ElseIf cboMath1PF.Text = "P" And cboMath2PF.Text = "P"
' End If
Can someone please give me some insight?
Thnkas in advance.