[求助]如何将表代码改成菜单代码(已解决) Post By:2016/5/9 21:28:00 [只看该作者]
下面这段表代码如何改成菜单代码,请各位老师指教,谢谢
If e.DataCol.Name = "工序编号" Then If e.NewValue = Nothing Then e.DataRow("工序数") = Nothing e.DataRow("工位工时") = Nothing Else e.DataRow("工序数") = e.newValue.Split(",").Length e.DataRow("工位工时") = DataTables("表B").Compute("sum(标准工时)", "工序编号 in ('" & e.NewValue.Replace(",", "','") & "')") End If End If