Application Development Discussions
Join the discussions or start your own on all things application development, including tools and APIs, programming models, and keeping your skills sharp.
cancel
Showing results for 
Search instead for 
Did you mean: 

table controls

Former Member
0 Kudos

if in a table control i want to change the number of lines that the user can enter at a time ,

how can i restrict that

say i would allow the user to enter only 30 lines at a time.

1 ACCEPTED SOLUTION

Former Member
0 Kudos

Hi

t_ctrl_mdoc1-lines = t_ctrl_mdoc1-top_line + 30 .

use the above code. It should work.

regards,

Ramya

2 REPLIES 2

Former Member
0 Kudos

Hi,


PROCESS BEFORE OUTPUT.
  MODULE status_9001.
  MODULE clear_okcode_9001.
  MODULE set_tabcntrl_lines.------------>here you set the number of lines...


MODULE set_tabcntrl_lines OUTPUT.
  tab_ctrl-lines = 30.

ENDMODULE.                 " SET_TABCNTRL_LINES  OUTPUT

Try it

Former Member
0 Kudos

Hi

t_ctrl_mdoc1-lines = t_ctrl_mdoc1-top_line + 30 .

use the above code. It should work.

regards,

Ramya