各位老师:
上表中 销帐明细 是提取 费用明细 的内容,将销帐金额录入后,如何再将销帐明细表的行替换或将其它容填充到费用明细相同行的数具中.
呵呵,双循环不会设置.
Import("应付款",filename,"付中转","barryyong","修改", ">" ,"") And SortCol("应付款","修改",2)And DelReptRows("应付款","日期","单号","结算公司","费用明称","单价","数量","币制","金额")And ClearGrid("付中转")And EvalFor("应付款","修改","","修改", ">" ,"") And SortCol("应付款","单号",1) And Do(3)
哈,如上易表代码能看明白吧,呵呵.
销帐明细表与费用明细表关键列是一样的,现要将销帐明细表的所有行替换费用明细表中相同行的数具.
比如:
表A有二行数具如下:
列1 列2 列2
A 100
B 300
表B有二行数具如下:
列1 列2 列2
A 100 50
B 300 100
现要将表B中列2的数具填充到表A列1相同的行中
[此贴子已经被作者于2009-3-18 17:44:27编辑过]