Foxtable(狐表)用户栏目专家坐堂 → [求助]有点甜等高手老师们,这个分数怎么得出!


  共有2491人关注过本帖平板打印复制链接

主题:[求助]有点甜等高手老师们,这个分数怎么得出!

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


加好友 发短信
等级:版主 帖子:85326 积分:427815 威望:0 精华:5 注册:2012/10/18 22:13:00
  发帖心情 Post By:2018/3/7 8:52:00 [只看该作者]

Dim v1 = e.form.controls("TextBox3").text

Dim fdr As DataRow = DataTables("表A").find("分数 = '" & v1 & "'")

If fdr IsNot Nothing Then

    msgbox(fdr("排名"))

    Dim dr As DataRow = DataTables("表A").find("去年排名 <= " & fdr("排名") & "", "去年排名 desc")

    msgbox(dr("去年分数"))

    Dim dr2 As DataRow = DataTables("表A").find("去年排名 >= " & fdr("排名") & "", "去年排名")

    msgbox(dr2("去年分数"))

End If


 回到顶部