Foxtable(狐表)用户栏目专家坐堂 → 后台数据的调取


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

主题:后台数据的调取

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


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

If e.DataCol.name="车号" Then
    If e.NewValue IsNot Nothing Then
        Dim i As Integer=0
        i=e.DataTable.sqlCompute("Max(_identify)","车号='" & e.NewValue & "' AND _identify<>" & E.DataRow("_identify") & "")
        If i<>0 Then
            Dim dr2 As DataRow=e.DataTable.sqlfind("_identify=" & i & "")
            If dr2 IsNot Nothing Then
                e.DataRow("上期里程读数")=dr2("本期里程读数")
            End If
        End If
    End If
End If

 回到顶部