-- 作者:ehomecd
-- 发布时间:2015/11/5 20:09:00
-- [求助]日历控件DateSelected,第一次无法筛选当天数据
[求助]日历控件DateSelected,第一次无法筛选当天数据
用日历控件筛选数据,DateSelected代码如下:
Dim r As Row = Tables("龙源宝藏").current
Tables("游戏个人数据s_龙源宝藏").Filter = "日期 = \'" & e.Sender.Value & "\'and 学生编号 = \'"& r("学生编号") &"\'"
问题如下:
今天是11月5日,直接点击日历控件的5日的时候,没有筛选到任何数据;
点击控件3日,筛选到3日数据;
再次点击5日,筛选出5日的数据;
为什么第一次点击没有筛选到任何数据?
 此主题相关图片如下:2015年11月5日1.png 
此主题相关图片如下:2015年11月5日2.png

此主题相关图片如下:2015年11月5日3.png

此主题相关图片如下:2015年11月5日4.png

[此贴子已经被作者于2015/11/5 20:09:56编辑过]
|