Options

Transheader & Transfooter

bobnavisionbobnavision Member Posts: 159
Hi,

In Sales Invoice report , Transheader and Transfooter are not priniting for some reason. I have added one new data item just after the sales invoice line.
I am bit stuck here!!!

](*,)

Regards,

Comments

  • Options
    krikikriki Member, Moderator Posts: 9,090
    Check if section-property "KeepWithNext"=No.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Options
    bobnavisionbobnavision Member Posts: 159
    Sorry I gave the wrong information.
    What it is suppose we are printing a sales invoice report and it prints in 2 pages. If the information from one dataitem ( say Sales Invoice line ) start printing from first page and goes to second page then TransFooter and Transheader both prints and it works fine.

    But what happened with one of my client is information from Sales Invoice line dataitem got printed in first page and in second page it started printing for next dataitem.
    Obviously, Transheader or Transfooter of Sales Invoice Line would not execute.

    But the client requirement is to print "Continued To next page" if report is printed in more than one page.

    Regards,
  • Options
    krikikriki Member, Moderator Posts: 9,090
    Did you put transfooter on the correct dataitem (=lines)?
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Options
    bobnavisionbobnavision Member Posts: 159
    I think I need to put transfooter on 3 or 4 dataitems and check.
  • Options
    bobnavisionbobnavision Member Posts: 159
    no it doesn't work . need special attention now.
  • Options
    krikikriki Member, Moderator Posts: 9,090
    Try this (not realy a beautifull way):
    -create a global text that you fill up with "Continued To next page" at "OnAfterGetRecord" of the header-record.
    -Create a footer-section on the header-record with in it the global text.
    -in the "OnPostDataItem()" of the line, you put it to blank.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Options
    kinekine Member Posts: 12,562
    The transfooter must be on the dataitem, which is divided with the pagebreak, for example PageLoop in standard reports. It is not called, when the pagebreak is between two dataitems...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.