Application Development and Automation 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: 
Read only

Dynamic list width

Former Member
0 Likes
422

I am working on a program to generate a dynamic list whose columns are controlled based on selection. Based on the selection, the list width may vary from 200 to 720. I have declared the LINE-SIZE to be 720.

The problem is when the actual column width is much less than 720 there are a lot of blank spaces in the report. For eg., if the actual width is only 200, then the report will have 520 blank spaces on each line.

Is there any way to set the LINE-SIZE during runtime.

Thx & Regds

Thiru

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
372

YOu can use

new-page line-size <count>.

Regards,

ravi

2 REPLIES 2
Read only

Former Member
0 Likes
373

YOu can use

new-page line-size <count>.

Regards,

ravi

Read only

Former Member
0 Likes
372

Hi,

Look at the DEMO program:-

DEMO_LIST_NEW_PAGE_PRINT_ON

Regards

Sudheer