Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
Select Case e.DataCol.Name Case "天数","面试室","形不成竞争" Dim dr As DataRow = e.DataRow Dim pr As DataRow If dr.IsNull("天数") OrElse dr.IsNull("面试室") Then msgbox(1) dr("备注") = Nothing Else Dim filter As String filter = "天数 = '" & dr("天数") & "' And 面试室 = '" & dr("面试室") & "'" pr = DataTables("平均计算").Find(filter) msgbox(pr IsNot Nothing) msgbox(dr("形不成竞争")) If pr IsNot Nothing And dr("形不成竞争") = True Then dr("备注") = pr("面试室平均值") Else dr("备注") = Nothing End If End If End Select |