Rss & SiteMap
Foxtable(狐表) http://www.foxtable.com
保存前。根据条件判断是否锁定。如 表a 当 例“状态”为,“已开piao”,“已付费”,则锁定行。(“状态”中的值不是新的值)。
DataColchanged事件改成BeforeSaveDataRow事件
If e.DataCol.Name = "状态" Then
If e.NewValue = "已开piao" Then
e.DataRow.Locked = True
End If
End If
If e.DataCol.Name = "状态" Then
If e.NewValue = "已付费" Then
e.DataRow.Locked = True
End If
帮忙改一下代码
if e.datarow("状态") = “已开piao" orelse e.datarow("状态") = "已付费" then
e.DataRow.Locked = True
end if