Need more, need help now?
- - - - - - - - - - - - - - - - - - pay-as-you-go support - no contract - tenth of an hour billing - expert help - fast service - no call queues
Need integration?
- - - - - - - - - - - - - - - - - - with your shipping system - website - invoicing system - crm - cms - manufacturing - order import - back to back orders..
Need a report?
- - - - - - - - - - - - - - - - - - Excel reporting that pulls data from Sage - custom layouts - layouts that change adapt to your brands and/or for drop shipping.
Want web hosting?
- - - - - - - - - - - - - - - - - - Your own domain name - email - a shop - wordpress - woo commerce - ticket systems - help desks - forums - portals

Page numbers not working

Report design issues and solutions.
Post Reply
ej2222
User
User
Posts: 3
Joined: 21 Feb 2022, 13:19
Sage Version: v2018 24 UK/Europe/Africa

Page numbers not working

Post by ej2222 » 21 Feb 2022, 13:26

Hi all,

I've created a Purchase Order layout in Sage Report Designer v5, using data from Sage Line 50 v28.

I am having a problem with page numbers.

No matter how many pages are printed, the variables REPORT.PAGE and REPORT.PAGES always equal "1".

So, on every page printed, it shows "Page 1 of 1".

Does anyone have any suggestions on what I might be doing wrong? Is there a setting somewhere I need to change? Is there anything I can do to "debug" and figure out what the problem is?

Thanks.

User avatar
brucedenney
Site Admin
Site Admin
Posts: 4611
Joined: 28 Feb 2006, 09:56
Sage Version: v28 UK/Europe/Africa

Re: Page numbers not working

Post by brucedenney » 21 Feb 2022, 15:36

Can you attach the layout to your post so I can take a look?
For just about anything Sage :- Discount subscriptions, pay-as-you-go support, application integration, reports, layouts, linked excel spreadsheets, analysis or any other help making life with sage easier/less time consuming Contact me.

ej2222
User
User
Posts: 3
Joined: 21 Feb 2022, 13:19
Sage Version: v2018 24 UK/Europe/Africa

Re: Page numbers not working

Post by ej2222 » 21 Feb 2022, 15:49

Sure, please see attached. Thanks Bruce.
Login to access the files attached to this post.

User avatar
brucedenney
Site Admin
Site Admin
Posts: 4611
Joined: 28 Feb 2006, 09:56
Sage Version: v28 UK/Europe/Africa

Re: Page numbers not working

Post by brucedenney » 21 Feb 2022, 16:43

The main issue is the The Report Header which only appears at the start of the report and its corresponding footer that only appear at the end of the preport have been used instead of a Group Header and Footer based on the OrderNumber.

Try printing 2 orders anf you will see the issue only one prints.

You also seem to have not included a section for the Service Items on Purchase orders so S3 items will not print.

The Batch PAges would work, but if you make the report header empty and put this in a page header you will be going in the right direction.
For just about anything Sage :- Discount subscriptions, pay-as-you-go support, application integration, reports, layouts, linked excel spreadsheets, analysis or any other help making life with sage easier/less time consuming Contact me.

ej2222
User
User
Posts: 3
Joined: 21 Feb 2022, 13:19
Sage Version: v2018 24 UK/Europe/Africa

Re: Page numbers not working

Post by ej2222 » 21 Feb 2022, 18:14

Excellent- thanks Bruce, you were absolutely right about my report structure and I have now made those changes (except for the Service Items bit... we don't use them in our org so that was a deliberate omission for the sake of simplicity). I am still getting to grips with Sage reporting so thank you for the heads up!

REPORT.PAGE started working immediately after I made your recommended changes.

REPORT.PAGES was still not working correctly, until I changed the property "Is Cumulative" to "Automatic". That seemed to get it to behave as expected.

User avatar
brucedenney
Site Admin
Site Admin
Posts: 4611
Joined: 28 Feb 2006, 09:56
Sage Version: v28 UK/Europe/Africa

Re: Page numbers not working

Post by brucedenney » 22 Feb 2022, 15:55

Glad to be of service.
For just about anything Sage :- Discount subscriptions, pay-as-you-go support, application integration, reports, layouts, linked excel spreadsheets, analysis or any other help making life with sage easier/less time consuming Contact me.

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest