Rick Brandt wrote:
DS wrote:
PS from DS
I want the from to Update as I type without hitting Enter.
Thanks
DS
Then you need to use the Change event, not AfterUpdate and you might have to
use the Text property of the control instead of the Value property (which
being the default is what you get when you just use the control name by
itself).
I tried putting my code on Change, made it worse. Heres my new code...
On Error Resume Next
cbName.SetFocus
If cbName.Value > 0 Then
Me.Filter = "[CustomerID]=" & cbName.Value
Me.FilterOn = True
cbAddress = ""
cbTel = ""
End If
I have 3 Combo boxes so that they can choose a customer by name, address or
telephone number, this all works great now the only thing that I am missing is
that as I type the criteria in I want the record to fill in.
I've searched the net and people have mention this but...no code.
Thanks
DS