Foxtable(狐表)用户栏目专家坐堂 → 日期列自动编入日期


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

主题:日期列自动编入日期

帅哥,在线噢!
有点蓝
  1楼 | 信息 | 搜索 | 邮箱 | 主页 | UC


加好友 发短信
等级:超级版主 帖子:109479 积分:557057 威望:0 精华:9 注册:2015/6/24 9:21:00
  发帖心情 Post By:2016/10/6 15:18:00 [显示全部帖子]

Dim idx As Integer = Tables("表A").FindRow(e.DataRow)
If idx >= 0 AndAlso Idx < Tables("表A").Rows.Count-1 Then
    If Tables("表A").Rows(idx+1).Isnull("日期") = False Then
       Tables("表A").Rows(idx)("日期")  = Tables("表A").Rows(idx+1)("日期").AddDays(1)
    End If
End If

 回到顶部