M
Mark A. Sam
I have this code in the Change event of a combobox:
Private Sub Location_Change()
'On Error Resume Next
If [Location].Text = "" Then
[Location] = "All"
End If
End Sub
It gives me err 2185
"You can't reference a property or method for a control unless the control
has the focus."
Obviously the contol has the focus since I changed its value and nothing
else changes the focus from this control.
I use this exact method in another app and it works fine.
Any ideas on this?
Thank you and God Bless,
Mark A. Sam
Private Sub Location_Change()
'On Error Resume Next
If [Location].Text = "" Then
[Location] = "All"
End If
End Sub
It gives me err 2185
"You can't reference a property or method for a control unless the control
has the focus."
Obviously the contol has the focus since I changed its value and nothing
else changes the focus from this control.
I use this exact method in another app and it works fine.
Any ideas on this?
Thank you and God Bless,
Mark A. Sam