转了SQL2014数据库后,日期代码出错 Post By:2023/3/10 14:25:00 [显示全部帖子]
Dim y As Integer = 2011'指定年份 Dim dt1 As NewDate(y, 1, 1) Dim dt2 As NewDate(y, 12, 31) Dim Filter As String Filter = "日期 >= #"&dt1&"# And 日期 <= #"&dt2&"#" Tables("订单").Filter = Filter
转了SQL2014数据库后,日期代码出错:"日期 >= #"&dt1&"# And 日期 <= #"&dt2&"#"