# Report show multiple pages when there's only 2 items

**URL:** <https://www.dynamicsuser.net/t/report-show-multiple-pages-when-theres-only-2-items/38973>\
**Category:** Developers Forum\
**Created:** [July 16, 2012, 2:22am UTC](https://www.dynamicsuser.net/t/report-show-multiple-pages-when-theres-only-2-items/38973 "2012-07-16T02:22:40Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![nikeman77](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@nikeman77](https://www.dynamicsuser.net/u/nikeman77)\
**Post date:** [July 16, 2012, 2:22am UTC](https://www.dynamicsuser.net/t/report-show-multiple-pages-when-theres-only-2-items/38973/1 "2012-07-16T02:22:40Z")

</div>

hi folks,

i have a modified sales invoice, which print out various footer type based on scenario  
eg:  
1.display amount in words,  
2.This is a computer generated letter no signature required  
3.various branches/ subsidiaries address

the issues here when i put all properties to be bottom of page, report will generate 2 pages even if item purchase from customer only 2 items…

anyone knows a work around? [\*-)]

some of the attempt i did in my footer section(but still not effective in rectifying the multiple pages issues),  
4.On footer preDataItem:  
CurrReport.Showoutput( **bolDisplayAmount** );  
CurrReport.Showoutput( **bolShowNoSignature** );  
CurrReport.Showoutput( **bolShowSubsidiaries** );

5.Check no. of pages in request forms options=0

---

<div class="post-metadata">

**Author:** ![amol\_salvi](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@amol\_salvi](https://www.dynamicsuser.net/u/amol_salvi)\
**Post date:** [July 16, 2012, 2:46am UTC](https://www.dynamicsuser.net/t/report-show-multiple-pages-when-theres-only-2-items/38973/2 "2012-07-16T02:46:23Z")

</div>

Have you set the right properties of Report ?

Such as TopMargin,BottomMargin,Orientation

As well as check if there any additional/unnecessary section is displayed during preview of report.

---

<div class="post-metadata">

**Author:** ![nikeman77](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@nikeman77](https://www.dynamicsuser.net/u/nikeman77)\
**Post date:** [July 16, 2012, 3:53am UTC](https://www.dynamicsuser.net/t/report-show-multiple-pages-when-theres-only-2-items/38973/3 "2012-07-16T03:53:09Z")

</div>

amol,

thanks for replying…  
the ‘funny’ thing is using the same object i tested in my local its fine in print preview but when i load similar object to live\> preview, it become 2 pages…  
we are previewing it on printer preview…just navision preview only

---

<div class="post-metadata">

**Author:** ![nikeman77](https://avatars.discourse-cdn.com/v4/letter/n/7ea924/32.png) [@nikeman77](https://www.dynamicsuser.net/u/nikeman77)\
**Post date:** [July 17, 2012, 2:05am UTC](https://www.dynamicsuser.net/t/report-show-multiple-pages-when-theres-only-2-items/38973/4 "2012-07-17T02:05:14Z")

</div>

i found the work around would be taking out the unnecessary dataitem thats not much in used and try to combine them if possible, in my case i take out total data item sections all together…, and play around with the properties(eg: PrintOnEveryPage, PlaceInBottom, KeepWithNext)  
 ![:D/](http://www.mibuso.com/forum/images/smilies/eusa_dance.gif)

---

<div class="post-metadata">

**Author:** ![amol\_salvi](https://avatars.discourse-cdn.com/v4/letter/a/ac91a4/32.png) [@amol\_salvi](https://www.dynamicsuser.net/u/amol_salvi)\
**Post date:** [July 17, 2012, 3:06am UTC](https://www.dynamicsuser.net/t/report-show-multiple-pages-when-theres-only-2-items/38973/5 "2012-07-17T03:06:18Z")

</div>

Thats good… Keep it up!!
