I am using the below code to search in a number field. When I enter text in the field, it asks for a parameter value before throwing an error. How can I get it to throw an error that says "Please enter a numeric value" instead?
If Not IsNull(Me.number) Then
strWhere = strWhere &...