Dim tbl As Table = e.Form.Controls("库存查询_tbl_库存查询表").Table
If e.Table Is Nothing Then
Return
End If
Dim rw As Row = e.Table.Current
If rw Is Nothing Then
Return
End If
tbl.DataTable.LoadFilter = "物品类型='" & rw("物品类型") & "' and I级类别='" & rw("I级类别") & "' and not 库存号 like 'ZJ-%' and not 库存号 like 'SY-%' and not 库存号 like 'XC-%'"
tbl.DataTable.Load
这段代码导致这个错误,应该怎么解决呢?是什么原因?
数据加载是正确的,但好像执行完之后,又再次触发事件,导致了这个问题。