Printing-Navision Report

brijleobrijleo Member Posts: 70
Can any body tell..........................
How to Print Standard Tex in every even page in case of multiple page report.

Comments

  • krikikriki Member, Moderator Posts: 9,086
    You can use CurrReport.PAGENO to know which page you are in.
    With this command you know when you are in an even page
    IF CurrReport.PAGENO MOD 2 = 0 THEN BEGIN
      // Even page
    END;
    
    Now you can add a section to be printed only in case of even pages or you can add a textbox you fill up when you are in an even page and clear when in an odd page.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • brijleobrijleo Member Posts: 70
    Dear Mr. Kirki,

    I have all ready tried this but it doen't work, in my case i am printing sales invoice in which my terms & condition to be printed on even pages, so that it can be printed on the back of 1st page.
  • krikikriki Member, Moderator Posts: 9,086
    I think you will have to keep all under control.
    Meaning, you cannot trust on the reporting-system when starting a new page, but you will have to decide it yourself.
    So you need to read all records, put them in a temptable and already divided per page.
    After this you read the temptable and take a record and put it on the report.
    You will also need to give a command when to change pages and then start printing your terms&conditions.
    This is quite a lot of work for programming it.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.