I want to find a record in a form. To do this, you enter a number and press a button. I have this filter code, but it does not seem to work. I already debugged it and the values are correct
Code:
Private Sub Befehl18_Click()
Dim number As String
number = Textfield1.Value
If Not IsNull(number) Then
Me.Filter = number
Me.Filter = True
End If
End Sub