CrystalSurfer
Matrix activist
- Local time
- Today, 09:02
- Joined
- Jan 11, 2006
- Messages
- 75
I have a filter (via textbox) on a form that only allows 1 character at a time to be typed (!!?) ie: after typing in "a" it highlights it, which means the next letter I type in, replaces the "a".
When I use the mouse to re-click after the letter entered, it does allow further characters.
What am I missing here?
The code for the filter:
Many thanks!
..Is it anything to do with Focus?
When I use the mouse to re-click after the letter entered, it does allow further characters.
What am I missing here?
The code for the filter:
Code:
Private Sub txtClientSearch_Change()
On Error GoTo ErrorHandler
Forms!frmClient.Filter = "Name Like " & Chr$(34) & "*" & Forms!frmClient!txtClientSearch.Text & "*" & Chr$(34)
Forms!frmClient.FilterOn = True
ExitProcedure:
Exit Sub
ErrorHandler:
DisplayError "txtClientSearch_Change", Me.Name
Resume ExitProcedure
End Sub
Many thanks!
..Is it anything to do with Focus?
Last edited: