Options

Problom with Report layout

TatevikTatevik Member Posts: 28
Hello All!!!!!!!!!!!!!!
Can you provide me with any information how to salve this problem
Any assistance will be much appreciated.

The situation is following:
I need to print report which contains header body and footer .
The fields printed in the body section must be separated by vertical lines. Everything is ok. But the footer always needed to be printed on the bottom of the page.
I need the vertical lines to be printed till the footer section, even if there is blank lines. ](*,) ](*,) :-k :bug:
Does anybody know how to manage this

Comments

  • Options
    kapamaroukapamarou Member Posts: 1,152
    you will need to predefine the number of lines per page, then add an integer body with your blank lines and repeat the integer body for (NumberOfLinesPerPage - LinesPrinted) times...

    It is tricky...
  • Options
    TatevikTatevik Member Posts: 28
    thanks for promt reply I'll try :):)
  • Options
    TatevikTatevik Member Posts: 28
    kapamarou wrote:
    you will need to predefine the number of lines per page, then add an integer body with your blank lines and repeat the integer body for (NumberOfLinesPerPage - LinesPrinted) times...

    It is tricky...


    the method you suggest I've tried many times but it doesn't make sence in this particular report.
    I have many lines and use transferheader transferfooter...
    IN other word.. I don't imagine what can be done. :oops: :?: :(:(:( :roll:
  • Options
    kokyas963kokyas963 Member Posts: 16
    Hi,
    you can test this code

    BlankLineCounter - OnPreDataItem()

    //
    LineBlank:=LineMaximum- (LinePrinted MOD LineMaximum) ;
    IF LineBlank <= 0 THEN
    LineBlank := 1;
    BlankLineCounter.SETRANGE(Number,1,LineBlank);
    //
    LineMaximum: Max number of lines per page
Sign In or Register to comment.