Please could someone help. Here is the code we've placed in the command button for a form entitled Intelligent Personality Checker. There are three check-boxes Cinema, Mobile Phones & Beer & Food, also a text box. A command button entitled Process is supposed to put aforementioned text into the text box when the command button (btnProcess) is pressed but it doesn't work.
Can anyone give any clues as to why this doesnt function? I've inserted the code
below into the command-click box to no effect......... .
Can anyone give any clues as to why this doesnt function? I've inserted the code
below into the command-click box to no effect......... .
Code:
Private Sub btnProcess_Click()
txtResult.Text = "................."
If Check1.Checked Then
txtResult.Text += "Cinema"
End If
If Check2.Checked Then
txtResult.Text += "Mobiles"
End If
If Check3.Checked Then
txtResult.Text += "Beer and Food"
End If
txtResult.Text += "........You really must get a life"
End Sub
Comment