PowerBuilder Get The RowNumber Of Specific Data On Datawindow
1 2 3 4 5 6 7 8 9 10 11 12 13 |
Long ll_row String ls_keyValue, ls_dwSearch // Read value from TreeView ls_keyValue = '...' // "MyKey" :: Column in DataWindow containing the key read from tree view ls_dwSearch = "MyKey = '" + ls_keyValue + "'" ll_row = dw_data.Find(ls_dwSearch, 1, dw_data.RowCount( )) If ll_row > 0 Then // Key value found => Make row current and visible dw_data.ScrollToRow(ll_row) End If |
Good Luck!
Subscribe
Login
0 Comments
Oldest