P
Peter
Hi all again…I receive Date Type Missmatch on this..
The query is Basket Query, the numeric control is Basket ID and Search is my
text field, different form, were I enter the number to filter…????
If DCount("*", "Basket query", "[Basket ID] =" & Me.Search & ") > 0 Then
DoCmd.OpenForm stDocName
Forms![Basket View].Filter = "[Basket ID] ='" & Me.Search & "'"
Forms![Basket View].FilterOn = True
Else
MsgBox “Sorry no Fruit Baskets foundâ€
End If
The query is Basket Query, the numeric control is Basket ID and Search is my
text field, different form, were I enter the number to filter…????
If DCount("*", "Basket query", "[Basket ID] =" & Me.Search & ") > 0 Then
DoCmd.OpenForm stDocName
Forms![Basket View].Filter = "[Basket ID] ='" & Me.Search & "'"
Forms![Basket View].FilterOn = True
Else
MsgBox “Sorry no Fruit Baskets foundâ€
End If