‎2009 Jul 06 7:48 AM
Hello experts,
I am using a find button for table items in my program. When user enters a value, the cursor goes to that row. It's working fine as far as that row is visible in table. If it lies below, the table isnt scrolled down. When I checked the syntax for SET CURSOR, it says the tab cntrl is scrolled dwn if that row isnt on the screen.
Please help,
Regards,
Sumit Nene
‎2009 Jul 06 9:14 AM
use parameter,
TC-TOP_LINE To set your desire line on top inplace of set cusror
Regards,
Alpesh
‎2009 Jul 06 12:07 PM
@alpesh,
I tried it, replacing the set cursor statement with -
tab_cntl-top_line = rec_index. " this is the variable i've stored my row number in.in PBO.
But nothing's happening.
Regards,
Sumit Nene.
Edited by: Sumit Nene on Jul 6, 2009 1:07 PM
‎2009 Jul 07 8:50 AM
Hi,
Sumit Nene
Loop At itab with tc...... Endloop
Will run only for the Visible rows in the TC.
So , Let run another loop for itab.
this will for all the rows in itab. Find the row To get the found row in PBO use SELColumn .
Hope you get some IDEA.
Pramoth CG