Foxtable(狐表)用户栏目专家坐堂 → [求助]根据评分自动评价的问题


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

主题:[求助]根据评分自动评价的问题

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


加好友 发短信
等级:狐神 帖子:5015 积分:25363 威望:0 精华:0 注册:2015/8/18 9:21:00
  发帖心情 Post By:2015/9/12 10:32:00 [显示全部帖子]

Select Case e.DataCol.Name
    Case "得分"
        If e.NewValue > 90 AndAlso e.NewValue <= 100 Then
            e.DataRow("评价") = "优秀"
        Else If e.NewValue > 80 AndAlso e.NewValue <= 90 Then
            e.DataRow("评价") = "优良"
        Else
            e.DataRow("评价") = "其它"
        End If
       
End Select

 

表达式列这样用 :IIF([得分]  <= 100 and [得分] > 90,'优秀',IIF([得分]  <= 90 and [得分] > 80,'优良','其它'))


 回到顶部