rovolution2
Registered User.
- Local time
- Today, 16:05
- Joined
- Jul 29, 2008
- Messages
- 20
I have a form with two combo boxes on it, and i want to create a valid If statement that will execute some code that if the current contents of the two combo boxes (SelectProg and SelectAW) are equal to one another.
I tried this statement but I keep getting an error. Any explanations?
Private Sub Form_Current()
If Me![SelectProg].Text = Me![SelectAW].Text
Me.Graph10.Visible = False
End If
End Sub
Also, what section of the form code should something like this be contained in if not the Current section?
I tried this statement but I keep getting an error. Any explanations?
Private Sub Form_Current()
If Me![SelectProg].Text = Me![SelectAW].Text
Me.Graph10.Visible = False
End If
End Sub
Also, what section of the form code should something like this be contained in if not the Current section?