If e.DataCol.Name = "模具型号" Then
e.DataRow("所应用的产品") = Nothing
Dim Filter91 As String = "[模具型号] = \'" & e.DataRow("模具型号") & "\'"
dim s as string = e.DataRow("所应用的产品") & "," DataTables("物料字典").GetComboListString("物料编号",Filter91).replace("|",",")
msgbox(s) \'自行调试一下,如果能够弹出来,说明事件正常执行了,如果没有值,说明没有符合条件的数据
e.DataRow("所应用的产品") = s.trim(",")
End If