Dear All,
I have a Combo Box (Combo2) and some values are stored in it.I also have a Button (Get Details).When the form is Loaded, this button will not be enabled.Only when we select any value from the said Combo, this button will be enabled. I wrote a
Code:
Private Sub cboCompNo_Change()
If Combo2.Value.Selected = '' Then <------------- Doubt
Command2.Enabled = True
End If
End Sub
when running the application, I am getting a error message. Is this code correct? The combo contains Numbers.
Any one who gives an help in this matter will be appreciated...............
Nanda Kumar