I would like to filter the report without open it.
I tried as following:
DoCmd.SelectObject acQuery, "qryName", True
DoCmd.ApplyFilter , "[date] Between #01/01/02# And #04/11/02#"
I get a run-time error '2488': You can't use the applyFilter action on this wonder.
Anyone can help me solve the problem?
I tried as following:
DoCmd.SelectObject acQuery, "qryName", True
DoCmd.ApplyFilter , "[date] Between #01/01/02# And #04/11/02#"
I get a run-time error '2488': You can't use the applyFilter action on this wonder.
Anyone can help me solve the problem?