Ok, weird one here. When I try to get the .text value from a combo as the user is changing the value, I get a "Control must have focus" error. But it should have focus, I'm editing the @#$@# thing.
Here's the only code on any of the control events:
Private Sub cmbDefendant_Change()
Debug.Print "text: " & Me.cmbDefendant.Text
End Sub
The list of possible values can be huge so I'm wanting to wait until the users typed 4 characters in the combo before I go get a the list of values from the database. I've done the same thing on another field on the form so I don't understand why its a problem on this one. I've tried changing the limit to list property for the control but that didn't help. On the other control I have it set to Yes to limit and it works fine.
What am I missing?
Here's the only code on any of the control events:
Private Sub cmbDefendant_Change()
Debug.Print "text: " & Me.cmbDefendant.Text
End Sub
The list of possible values can be huge so I'm wanting to wait until the users typed 4 characters in the combo before I go get a the list of values from the database. I've done the same thing on another field on the form so I don't understand why its a problem on this one. I've tried changing the limit to list property for the control but that didn't help. On the other control I have it set to Yes to limit and it works fine.
What am I missing?