Scenario
Customizing Transaction or Report preview format and wanted to show ‘Continue Next Page’ when there are more than 1 page
Example:
Company business nature is providing service on maintenance heavy duty machine which require to list out each job in details on Invoice which will have multiple page invoice, so would like to add a label ‘Continue Next Page’ in preview format with condition: -
- Show ‘Continue Next Page’ at the end of page except last page
- Show ‘Continue Next Page’ when there is more than 1 page invoice
Solution
- Open your transaction or report, in my example will be customer invoice
- Go to Task > Select Design
- Highlight your preview format and select Amend
- Right-click on Band DetailReport – “Details” > select Insert Band > select GroupFooter
- Go to View > Windows > Select ToolBox
- Drag [Label] into newly added Label
- Double-click on the label and key in text to be display like ‘Continue Next Page’
- Click on the [>] arrow button on GroupFooter1 and tick checkbox ‘Repeat Every Page’
- You can design your own appearance on the Properties panel (Right hand side) according to your needs
- Select the created label ‘Continue Next Page’ > Right-click and select Properties
- Select Behavior (Gear icon) and expand Scripts
- Select Print On Page and select (New)
-
- Copy and past below condition into script’s content
if (e.PageIndex == e.PageCount - 1)
(sender as XRLabel).Visible = false;
else
(sender as XRLabel).Visible = true;
- Click on Validate button > Save and close Report designer
- Preview with newly created format and you will be able to view the ‘Continue Next Page’ label on the end of page except last page, it also wont show when there is only 1 page
** Learn more about Azure Cloud
** Learn more about QNE Hybrid Cloud Software
Was this article helpful?
That’s Great!
Thank you for your feedback
Sorry! We couldn't be helpful
Thank you for your feedback
Feedback sent
We appreciate your effort and will try to fix the article