Hey so I have a table with a field called ORDERNUMBERS, and so far I have a text box (Text37) and a command button (Commmand41)
Private Sub Command41_Click()
Me.Filter = "ORDERNUMBER = '" & Me.Text37 & "'"
Me.FilterOn = True
Me.Requery
End Sub
The only problem is that it searches for EXACTLY what is written in the text box, so if I'm searching for 12345 and type in 123 it won't show up.
I feel like it's just a matter of where I put the "like" operator, but I can't figure it out.:banghead:
Cheers
Private Sub Command41_Click()
Me.Filter = "ORDERNUMBER = '" & Me.Text37 & "'"
Me.FilterOn = True
Me.Requery
End Sub
The only problem is that it searches for EXACTLY what is written in the text box, so if I'm searching for 12345 and type in 123 it won't show up.
I feel like it's just a matter of where I put the "like" operator, but I can't figure it out.:banghead:
Cheers