‎2011 Aug 01 2:27 PM
i had taken two table control in third tab of screen 103.. the problem are
1.whenever i press enter all the data in table control disappear or lost....and
2. whenever i want to add new record the no scorll bar in coming or i am unable to enter new record
‎2011 Aug 01 3:00 PM
Try to fix the scroll bar by using setting the property. Table control has a property called FIXED_COLS. FIXED_COLS takes the column number.
‎2011 Aug 02 10:06 AM
Have you set the Table Control's LINES property accordingly?
You always have to do this in the PBO, so the Table Control knows how many lines are filled with data
G_D_TC-LINES = LINES ( G_T_INTERNAL_TABLE ).
‎2011 Aug 03 6:28 AM
Hi,
How have you created the table control? through the wizard or manually?
‎2011 Aug 04 6:06 AM
‎2011 Aug 03 10:48 AM
Hi,
1) when you press enter button just debug the code using /h i think some where your written the code for clearing the internal table.
2)
use Jose Maria Otero said. your using the two table control so you have to find two internal table lines like
G_D_TC1-LINES = LINES ( G_T_INTERNAL_TABLE1 )."first table control
G_D_TC2-LINES = LINES ( G_T_INTERNAL_TABLE2 )."second table control
write the code in the PBO event. Here G_D_TC1 is 1st table control name G_D_TC2 is 2nd table control name.
Regards,
Dhina..
‎2011 Aug 04 7:17 AM
Check in your PAI if there is a line similar to
modify itab from wa.it should be in a module In the loop ..... endloop in the pai.
If it is there. Pls check if u r refreshing teh itab in PBO.. or if u r selecting records from somewhere in the PBO which will overwrite the entered values?