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

Sage 50 general help forum - Free help and support for all general issues
Post Reply
doinktheclown
User
User
Posts: 41
Joined: 21 Jan 2014, 09:43
Sage Version: v2013 19 UK/Europe/Africa

Page Numbers

Post by doinktheclown » 29 Jan 2015, 09:06

Hi

I am wanting to put the page number onto my invoices, but can't seem to find the right way to do it.

Specifically I want 'Page X of Y'.

Could anyone point me in the right direction?

Thanks in advance

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

Re: Page Numbers

Post by brucedenney » 29 Jan 2015, 12:34

an expression of

Code: Select all

"Page "+REPORT.PAGE+" of "+REPORT.PAGES
would do the job neatly and align thing well, you could also just put the fields in the layout
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.

doinktheclown
User
User
Posts: 41
Joined: 21 Jan 2014, 09:43
Sage Version: v2013 19 UK/Europe/Africa

Re: Page Numbers

Post by doinktheclown » 29 Jan 2015, 13:56

Thanks for that.

However, I've tried this but it is giving the same page number for every page. For example every page of an invoice would say "Page 4 of 4" as opposed to "Page 1 of 4", "Page 2 of 4" etc.

Do you happen to know a way around this?

Thank you

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

Re: Page Numbers

Post by brucedenney » 29 Jan 2015, 15:07

If you do it by dropping the variables onto the report manually, they work fine, but as soon as you put both of them in one expression they have the same value

My guess is that PAGES is an aggregated value of PAGE and so cannot exist in the same expression as itself in it's non aggregated form.

It is not as nice as one would like but it is perfectly functional solution.
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 2 guests