set page break so that hard coded doc prints on new page

johnsogjjohnsogj Member Posts: 103
hello, I am creating a packing slip and an informational sheet needs to print out as the last page each time a packing slip is printed. how do I insert a page break?

thanks

Comments

  • ara3nara3n Member Posts: 9,256
    Add the following code
    CurrReport.newpage.
    
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
  • johnsogjjohnsogj Member Posts: 103
    thank you! that worked. however, I still have one issue: I put all of the text that needs to print on a separate page in its own footer section (Footer Section 6). But I still have some other footer text that should print on the same page as the body of the report. I entered that CURRREPORT.newpage command in the code for Footer Section 6. However, the text in footer section 5 that should print with the body of the report is also printing on its own separate page. any ideas?
  • johnsogjjohnsogj Member Posts: 103
    never mind. I just fixed it by changing a setting on the section properties
  • ara3nara3n Member Posts: 9,256
    It's great that you solved your second question by yourself.
    Good luck.
    Ahmed Rashed Amini
    Independent Consultant/Developer


    blog: https://dynamicsuser.net/nav/b/ara3n
Sign In or Register to comment.