-- 作者:大红袍
-- 发布时间:2016/4/12 19:35:00
--
Dim dt As Date = Date.Today
Dim count As Integer = DataTables("表A").Compute("count(到期日期)", "到期日期 >= #" & dt & "# And 到期日期 <= #" & dt.AddDays(20) & "#")
Forms("窗口1").Controls("TopicBar1").Pages("项目").Links("打开").Text = "20天内到期(" & count & ")"
|