
加好友 发短信
等级:超级版主
帖子:112364
积分:572076
威望:0
精华:9
注册:2015/6/24 9:21:00
|
Post By:2018/1/6 16:42:00 [显示全部帖子]
If e.DataCol.Name = "未回数量" Then Dim r As Integer r= DataTables("供应商订货明细表").Compute("sum(欠货数量)","piao号 = '" & Tables("供应商订货明细表").Current("piao号") & "'") If r =0 Then Dim dr1 As DataRow dr1 = DataTables("供应商订货总表").Find("piao号 = '" & e.DataRow("piao号") & "'") If dr1 IsNot Nothing Then dr1("核销") = True End If End IfEnd If
|
|