改成
Dim d As Date = New Date(2017, 1, 1)
g.Filter = "报告卡录入时间 >= #" & d & "# and 报告卡录入时间 < #" & d.addMonths(1) & "#"