How to break a page

HI all,

how to break a page of report(208). when Item disc. group is different.

Suppose in report 5 line (2 lines of item group is=abc and other 3 lines of item group is = xyz) then I want to print two page. First page of two line and other is three line.

Please suggest me How I do that.

thanks in advance.

What have you tried so far?

Hi Pravin,

Can we assume this question is about NAV 2015 (as your other questions)?? Always write which version your questions are about. Many of the members works with different versions, when they work with different clients. So always just add “NAV 2015” to the “tags” when you post your question. Thanks. [:)]

Did you use the NEWPAGE from within the Report Designer in Development Environment?

Have you checked this thread:

http://dynamicsuser.net/forums/t/86475.aspx

I have to use NAV 2015

Hi Erik,

I have to use NewPage function but it not work.

Thanks in advance.

Where and how have you used it? What did it do?

Hi Josh,

Thanks for your reply.

I have to just call “NewPage” function on OnAfterGetRecord trigger in sales shipment line.

If its wrong then please suggest me how to do that.

Thanks.

Ah, sorry, my bad. I didn’t see the 2015 post.

CurrReport.NewPage is no longer supported - since 2013 (I think)

What you’ll want to do now in the layout designer is find the list box that’s repeating the details. Right click on it and in the ‘Row Groups’ option expand that and choose “Group Properties”

In that general tab add a grouping expression on the column you want to break on then on the “page break” tab choose to break between instances.

Hopefully that should sort it for you.

Thanks everyone,

I got the solution.

I have group the table using Item disc. group and then group properties change the Page Break option Page break between each instance of a group. then It work.

thanks for your help and quick response.