Foxtable(狐表)用户栏目专家坐堂 → 设置数据后不能修改?


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

主题:设置数据后不能修改?

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


加好友 发短信
等级:六尾狐 帖子:1470 积分:8981 威望:0 精华:0 注册:2013/10/24 9:12:00
设置数据后不能修改?  发帖心情 Post By:2014/2/17 9:53:00 [只看该作者]

为什么设置数据 

If e.DataCol.Name = "重量" Then

    If e.NewValue > 500 Or  e.NewValue < 5  Then

        e.Cancel = True

    End If

End If

If e.DataCol.Name = "份数" Then

    If e.NewValue = 1 Or  e.NewValue = 0.75 Or e.NewValue = 0.5 Or e.NewValue = 0.25 Then

        e.Cancel = False

    Else

        e.Cancel = True

    End If

End If

 

之后,每次录入后都不能修改?


 回到顶部