Skip to Content
author's profile photo Former Member
Former Member

Script - Space in Main window

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

4 Answers

  • Best Answer
    Posted on Jun 09, 2006 at 03:28 PM

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

    Regards

    vijay

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2006 at 03:26 PM

    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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2006 at 03:27 PM

    hi

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

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

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Jun 09, 2006 at 04:15 PM

    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.

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.