Dim dt As Date = Tables("表A").Current("日期")dt = dt.AddMonths(-12)Dim v AS double = DataTables("表A").Compute("Sum(数量)", "日期 >= # " & dt & "#")
MessageBox.show(v)