i get
Error 3075 Data type mismatch in criteria expression
but i no able left it
what is the problem???
but DateCutting is Integer Type
Dim strCriteria, task As String
strCriteria = "([DateCutting]>= #'" & Me.txtfrom & "'# And [DateCutting]<=#'" & Me.txtto & "')#"
task = "select * from Cutting where [DateCutting]>= '" & strCriteria & "'"
DoCmd.ApplyFilter task