Foxtable(狐表)用户栏目专家坐堂 → 3月6日第二次更新后,代码不起作用了


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

主题:3月6日第二次更新后,代码不起作用了

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


加好友 发短信 一级勋章
等级:MVP荣誉狐 帖子:5154 积分:31434 威望:0 精华:8 注册:2008/9/8 12:27:00
3月6日第二次更新后,代码不起作用了  发帖心情 Post By:2009/3/6 20:27:00 [只看该作者]

下面代码有什么问题吗?刚换上3月6日第二次更新后,就不起作用了,之前还好好的呀?~

Dim bc As integer = Tables("表A").Current("编号")
Dim dr As DataRow = DataTables("表b").Find("[编号]  = '" & bc & "'")
if dr isnot nothing  then
If Tables("表A").Current("摘要") <> dr("摘要") andalso Tables("表A").Current("分号") = dr("分号") Then
      e.Style = "是否修改过"     (这是自定义样式)
   elseif Tables("表A").Current("品名") <> dr("品名") andalso Tables("表A").Current("分号") = dr("分号") Then
      e.Style = "是否修改过"
   elseif Tables("表A").Current("金额") <> dr("金额") andalso Tables("表A").Current("分号") = dr("分号") Then
      e.Style = "是否修改过"
End If
End If

 


 回到顶部