标签:
1 > 原始 (dw_orig) 与 目标 (dw_dest)
> 从左向右移 cliecked()
long ll_row,ll_count
ll_row = dw_orig.getrow()
if ll_row <= 0 then return
dw_orig.rowsmove(ll_row,ll_row,primary!,dw_dest,dw_dest.rowcount() + 1,primary!)
< 从右向左移
long ll_row,ll_count
ll_row = dw_dest.getrow()
if ll_row <= 0 then return
dw_dest.rowsmove(ll_row,ll_row,primary!,dw_orig,dw_orig.rowcount() + 1,primary!)
>>批量向右移
long ll_row,ll_count
ll_row = 1
ll_count = dw_orig.rowcount()
if ll_row <= 0 then return
dw_orig.rowsmove(ll_row,ll_count,primary!,dw_dest,dw_dest.rowcount() + 1,primary!)
<<批量向左移
long ll_row,ll_count
ll_row = 1
ll_count = dw_dest.rowcount()
if ll_row <= 0 then return
dw_dest.rowsmove(ll_row,ll_count,primary!,dw_orig,dw_orig.rowcount() + 1,primary!)
标签:
原文地址:http://www.cnblogs.com/jerry1209/p/4242656.html