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

Script - Space in Main window

Former Member
0 Likes
830

Hi all,

I have designed main window as such it matches the statinary requirements. the mainwindow has BOX command so it is like table of 2 rows and 5 columns.

The database fields present in the script gets displayed on the mainwindow , only 7 rows gets displayed on the mainwindow , but still there is enough space as it can accomodate about 12 rows . But once the data reaches 7 rows it jumps of to the other page .

I tried checking all the things but iam not able to figure it out. If i try increasing the size of main window the BOX alignment gets ruptured and it overlaps with the other window below it. The problem is space inside the main window is empty

If any one has a slight knowledge about this please let me know

I will paste the code present in the text element for the line items.

==================================================

/ <b>THIS LINE IS BLANK</b>

/: SET DATE MASK = 'MM/DD/YYYY'.

/: PROTECT

T1 &REGUP-BELNR(13)&,,&REGUP-BLDAT(6)&&REGUP-BLDAT&,,

= &REGUD-DMBTR(13R)&,,&REGUD-SKNTO&,,&REGUD-NETTO&

/: ENDPROTECT

==================================================

Please do let me know about this .

Waiting for ur replies

Regards,

Shuja

1 ACCEPTED SOLUTION
Read only

Former Member
0 Likes
695

Try to remove PROTECT AND ENDPROTECT from your script layout and check.

Regards

vijay

4 REPLIES 4
Read only

Former Member
0 Likes
695

Hi Shuja,

<b> Remove PROTECT and ENDPROTECT statements in your code.</b>The PROTECT and ENDPROTECT will try to accomadate all results in one page.If it doesnt do this, then this will automatically triggers NEWPAGE.

Thanks,

Vinay

Read only

Former Member
0 Likes
695

hi

try reducing the <b>font size</b>

also check the <b>line spacing</b>

Read only

Former Member
0 Likes
696

Try to remove PROTECT AND ENDPROTECT from your script layout and check.

Regards

vijay

Read only

Former Member
0 Likes
695

hii shuja ,

PROTECT

determine that a paragraph must not be separated by a page break. The lines in this command are printed together on one page. If the space is enough on current page, then all the lines are printed on current page. If, however the space is not sufficient the PROTECT command works as a ‘NEW-PAGE’.

SO remove PROTECT ENDPROTECT and try ..also check by increasing size of main window.