Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Powerbuilder "RowsMove" not working for simultaneous selected rows

13 views
Skip to first unread message

zaee...@gmail.com

unread,
Sep 17, 2015, 6:04:09 PM9/17/15
to
Please help me. I am a beginner.
I have a problem that I have written a code in which a button check for the row either it is selected or not. And if it is selected then it Moves the row from one Datawindow to another. But the problem is;
When I move single row it works fine.
While it also move multi rows which are having a row space in between rows. i.e. 1,3,6 or 2,6,8

????? And when I select multiple rows simultaneously then it moves only single row. i.e. Row# 1,2 or 2,3,4 ?????

My code is:

boolean result
for sRow = 1 to dw_lhr.rowCount()
result = dw_lhr.IsSelected(sRow)
IF result THEN
dw_lhr.RowsMove(sRow, sRow, Primary!, dw_grn, 1, Primary!)
END IF
next
0 new messages