-- 作者:QQ89559611
-- 发布时间:2015/11/3 21:21:00
--
If(RowLocked(Row),MsgBox("已订料",1),If([数量]=0 Or [长]=0,MsgBox("订料失败",1),AddRow("订料单1","下单日期,客户名称,品名,盒式,长,宽,高,PU,数量,订料宽,订料长,张数,材质,用料宽,用料长,制单员",[订单日期],[客户名称],[品名],[盒式],[长],[宽],[高],[PU],[数量],[订料宽2],[订料长2],[下料数量],[材质],[下料宽],[下料长],[制单员])AndSetVariable("%H%",Maxfor("订料单1","NO","订单单号","<>","")+1)AndReplacefor("订料单1","NO",[%H%],"NO","=","")And RecalcCol("订料单1",4,23)))
这条公式帮我加下, 此主题相关图片如下:asdasddd.png ,就是逻辑型选择,然后可以按条件复制过去订料单1那个表
[此贴子已经被作者于2015/11/4 20:57:37编辑过]
|