iReports trick for page numbering including last page

When designing some reports which were expanding on multiple pages the need of numbering the pages occured.  The first thing to do was to search the internet and see how others managed this problem. The first idea that popped out was to use the Page X of Y tool from iReports located in the Palette view. It was a very easy and straight forward approach because there was no need to implement additional functionality, just a simple drag and drop to the Page Footer band and some additional tweaks just to look god.

However this approach proved to be a bad one when the page number grew to a 2 digit number and the two text fields overlapped and lost their alignment. Even more, on the last page of the report the page number was not shown. To properly solve this problem the RationalPlan team found a new way to show the page number on each page including the last one.

For showing the page number on the last page of the report the Last Page Footer band must be added by right clicking on it in iReports in the left panel called Report Inspector. After having both bands active (Page Footer and Last Page Footer) drag and drop the Page X of Y tool from the Palette view to the Page Footer band. Resize each text field to look like in the picture and align the text to right respectively to the left in each text field. Now the expression of each text item must be slightly changed by right clicking the text items and writing “Page ” + $V{PAGE_NUMBER} in the first one and ” of ” + $V{PAGE_NUMBER} in the second one. Make sure that the first text item has the evaluation time set to Now and the second one to Report. This setting is located in the Settings view in the Text field properties category.

The last thing to do is to copy the first set of the text items and paste it over the Last Page Footer band and align them accordingly and this is it. Now the text will appear as it should be regardless of the number of pages and the last page will be also numbered. Good luck!

By |2022-11-18T10:20:12+00:00October 11th, 2011|RationalPlan|Comments Off on iReports trick for page numbering including last page

Project Management Solutions To Better Control Your Business

Any business needs some management solutions to get organized and stay on the floating line. Unfortunately, many organizations are forced to rely on paper trails and email-chains. These outdated methods were replaced by newer project management solutions.

There are different types of such solutions for a wide range of working domains and for many kinds of needs. The access to accurate, real-time data regarding projects and resources is crucial to making strategic business decisions. Companies must keep up with the changes that impact the day-to-day running of their business. Managers are expected to deliver more than ever – but with fewer resources, within a shorter period of time and to produce maximum returns for the business.

Many times all this work gets externalized to other specialized entities. This covers either the use of project management tools or even more the delegation of entire work to management and consulting companies. In all cases appropriate methodologies and processes are necessary to be applied.

Project management solutions

In order to make the best decisions to support your organization’s long-term goals you have to decide and choose the right management solution:

  • Resource management – if you have a resource oriented activity this is the solution on which you should insist on. In most cases it is strongly connected with work management software
  • Project portfolio – this type of solution is the most used in any domain. Any company has multiple projects that needs to be managed. It also covers almost entirely resource management software
  • Issue tracking – best suited for software development companies
  • Task management – many small and medium organizations resort to this kind of solution; task management software is used mainly because of the ease of use, simplicity and light collaboration features


By |2022-11-18T10:20:12+00:00October 4th, 2011|Business Management, Project Management Software|Comments Off on Project Management Solutions To Better Control Your Business
Go to Top