Why is my function not working.I am not able to find the customer with this function :
Dim f As Form
Set f = Forms!FCustomers
Dim strCustomerID As String
strCustomerID = InputBox(“Enter customer number ? “)
If strCustomerID = “” Then
Exit Sub
End If
f.RecordsetClone.FindFirst “CustomerID = ” & strCustomerID
If f.RecordsetClone.NoMatch Then
MsgBox “customer ” & strCustomerID & ” does not exist!!”
End If