Goodmorning!
i have a code
this is the code on the button connected with a text box which i use when im searching a record.
the card number is compose of 16 digits. and i must enter 16 digits just to search for that record.
I want to ask if how would i do. so i can search on it even i input 6 numbers only etc..
Thank you in advanced. (~_^)olll
i have a code
Code:
Private Sub btnFilter_Click() Dim strFilter As String With Me If .txtFindCardNumber > "" Then strFilter = Replace(.txtFindCardNumber, ", ", ",") strFilter = "[Card_Number] In('" & Replace(strFilter, ",", "','") & "')" End If .Filter = strFilter .FilterOn = (strFilter > "") End With End Sub
the card number is compose of 16 digits. and i must enter 16 digits just to search for that record.
I want to ask if how would i do. so i can search on it even i input 6 numbers only etc..
Thank you in advanced. (~_^)olll
Comment