Foxtable(狐表)用户栏目专家坐堂 → 关于帮助中:“关于生日提醒 ”的帮助文本的疑问。。。


  共有3931人关注过本帖树形打印复制链接

主题:关于帮助中:“关于生日提醒 ”的帮助文本的疑问。。。

帅哥哟,离线,有人找我吗?
有点甜
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:版主 帖子:85326 积分:427815 威望:0 精华:5 注册:2012/10/18 22:13:00
  发帖心情 Post By:2014/3/10 19:54:00 [显示全部帖子]

Dim nms As String
For Each dr As DataRow In DataTables("员工").DataRows
    Dim dt As Date = dr("出生日期")
    If dt.Month = Date.Today.Month AndAlso dt.Day = Date.Today.Day Then
        nms = nms & ",'" & dr("姓名") & "'"
    End If
Next
If nms > "" Then
    nms = nms.Trim(",")
    Tables("员工").filter = "[姓名] In (" & nms &")"
Else
    Tables("员工").filter = "false"
End If

 


 回到顶部