# Adding the Page X of Y Variable to Reports & Labels

**URL:** <https://speciforum.org/t/adding-the-page-x-of-y-variable-to-reports-labels/734>\
**Category:** Specify 6 Documentation\
**Tags:** Specify-6, Members-only\
**Created:** [September 13, 2022, 8:54pm UTC](https://speciforum.org/t/adding-the-page-x-of-y-variable-to-reports-labels/734 "2022-09-13T20:54:25Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Grant](https://yyz1.discourse-cdn.com/flex029/user_avatar/speciforum.org/grant/32/4255_2.png) [@Grant](https://speciforum.org/u/Grant)\
**Post date:** [September 13, 2022, 8:54pm UTC](https://speciforum.org/t/adding-the-page-x-of-y-variable-to-reports-labels/734/1 "2022-09-13T20:54:26Z")

</div>

First, drag and drop the built in PAGE\_NUMBER variable twice onto your report. Make sure the height of the field box is tall enough by right-clicking and selecting Properties \> Common \> Height. The height of a box must be at least 3 pixels higher than the font size. It must be at least 4 pixels higher if the font size is bold.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/1X/99153f9ef65d315623636dd98624f79225059512.png)

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/1X/5f0ab355ab65f36641203709b48286bdf89f864b.png)

Format the first (left) box’s expression to look like this:

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/1X/eedb6022000a710c6ea8173141f4192d15bb0bb8.jpeg)

Right-click the left box and select Properties \> All \> and scroll down to Eval. Time. Select **Page**. Still in Properties, navigate to the Font tab. Select **Right** for Horizontally Align.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/1X/cda7c7a57ecccb8e6472dc683a8a0106c29132c7.jpeg)

Do not edit the second (right) box’s expression. Right-click and open Properties. Set its Eval. Time to **Report.** Set its Horizontally Align option to **Left.**

Your report should look like this when you’re done.

 ![image](https://canada1.discourse-cdn.com/flex029/uploads/specifysoftware/original/1X/2862b174681ea95a7b2f32644d82190e56091d34.png)
