在datacolchanged中的代码,错在哪里? Post By:2010/7/22 1:15:00 [显示全部帖子]
If e.DataCol.Name = "客户代码" Then Dim Sum As Double Sum = DataTables("装柜明细").Compute("Sum(件数)","[客户代码] = '" & e.DataRow("客户代码") & "'" and "[地址] = '" & e.DataRow("地址") & "'") e.DataRow("件数") = Sum End If