for i = 1 to dw_1.rowcount()
dw_2.object.列1 = dw_1.object.列1
dw_2.object.列2 = dw_1.object.列2
dw_2.object.列3 = dw_1.object.列3
dw_2.object.列4 = dw_1.object.列4 ............
next
if dw_2.update()then
commit;
end if
for i = 1 to dw_1.rowcount()
dw_2.insert(i)
dw_2.object.列1(i) = dw_1.object.列1(i)
dw_2.object.列2(i) = dw_1.object.列2(i)
dw_2.object.列3(i) = dw_1.object.列3(i)
dw_2.object.列4(i) = dw_1.object.列4(i) ............
next
if dw_2.update()then
commit;
end if