Dim dr1 As Row = CurrentTable.Rows(指定行数-1) ’将另一行的值替代到指定行
Dim dr2 As Row = CurrentTable.Rows(另一行数-1)
For Each dc As Col In CurrentTable.Cols
dr1(dc.name) = dr2(dc.name)
dr2(dc.name) = Nothing ’将另一行的值为空,并移动到最后行
dr2.move(CurrentTable.count - 1)
Nex
-- 作者:有点蓝
-- 发布时间:2018/12/26 14:03:00
--
Dim dr1 As Row = CurrentTable.Rows(指定行数-1) \'将另一行的值替代到指定行
Dim dr2 As Row = CurrentTable.Rows(另一行数-1)
For Each dc As Col In CurrentTable.Cols
If dc.DataCol.Expression = "" Then
dr1(dc.name) = dr2(dc.name)
End If
dr2(dc.name) = Nothing \'将另一行的值为空,并移动到最后行
dr2.move(CurrentTable.count - 1)
Next
-- 作者:wangjx817
-- 发布时间:2018/12/26 14:28:00
--
此主题相关图片如下:windows7x64-2018-12-26-14-25-03.png
显示如上错误。
-- 作者:有点甜
-- 发布时间:2018/12/26 17:23:00
--
Dim dr1 As Row = CurrentTable.Rows(指定行数-1) \'将另一行的值替代到指定行 Dim dr2 As Row = CurrentTable.Rows(另一行数-1) For Each dc As Col In CurrentTable.Cols If dc.DataCol.Expression = "" Then dr1(dc.name) = dr2(dc.name) dr2(dc.name) = Nothing End If \'将另一行的值为空,并移动到最后行 dr2.move(CurrentTable.count - 1) Next