Hello,
I modified report 208 and modified the corresponding layout.
And now I get a second page printed when I print the layout.
I tried to find what caused this, worked with colors, deleted tables an text boxes, checked the report properties. I made those the same size as a report that did fit on one page.
I added a new table Sales lines, to show the quantities that were ordered but not shipped.
I did retrieve the lot numbers earlier to show them in the sales line.
Sales Shipment Line - OnPreDataItem()
TrackingSpecCount := ItemTrackingMgt.RetrieveDocumentItemTracking(TrackingSpecBuffer2,"Sales Shipment Header"."No.", DATABASE::"Sales Shipment Header",0);
TrackingSpecCount :=0;
Left the rest depending on showing the ShowLotSN boolean.
I'm not sure the report 'sees' a second page because the page number on page 2 is still 1.
Any suggestion where to look?
kabroco
0
Answers
So select the body and write i.e. 1cm in the "Width" property value in Size, and hit Enter. This will decrease the Body size minimum size possible.
This should fix your problem, if not, pay attention to Margins in Report Properties. If Body Width Size is more that 21cm you will get 2 pages.
/Claus Lundstrøm
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)
thank you for your answer.
But sorry, it did not solve the problem. I checked the sizes several times. :-k
So, maybe any other suggestions?
Kabroco
Steven solved the problem, =D> the new dataitem Sales Lines was not correctly indented. It had to go one place to the right, same level als the sales shipment lines. In this way there was not anymore an OutputNo = 0 in the dataset. This led to a new extra page in RTC.
Thank you both.
Kabroco
I'm blogging here:http://mibuso.com/blogs/clausl and used to blog here: http://blogs.msdn.com/nav
I'm also offering RDLC Report Training, ping me if you are interested. Thanks to the 700 NAV developers that have now already been at my training. You know you can always call if you have any RDLC report issues :-)