web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Page number not in header ( SSRS Report AX 2012)

(0) ShareShare
ReportReport
Posted on by 1,295

Hi,

I would like to ask if is it possible to put page numbers in the field not using Header or footer?

Sincerely,

Ivan

*This post is locked for comments

I have the same question (0)
  • syed baber Profile Picture
    11,633 on at
    RE: Page number not in header ( SSRS Report AX 2012)

    Is there any specific reason, you want to have page numbers in body section of the report?

  • SII1MNL Profile Picture
    1,295 on at
    RE: Page number not in header ( SSRS Report AX 2012)

    Yes in the body section is it possible? because I check the global expression can only be used only in the header and  footer.

  • Suggested answer
    Jesus R. ABASCAL Profile Picture
    1,450 on at
    RE: Page number not in header ( SSRS Report AX 2012)

    Hi,

    I don't know whether it works but review this link:

    social.msdn.microsoft.com/.../page-number-records-number

  • Community Member Profile Picture
    on at
    RE: Page number not in header ( SSRS Report AX 2012)

    I try it one time and I think it's not posible do it on Axapta SSRS reports.

  • SII1MNL Profile Picture
    1,295 on at
    RE: Page number not in header ( SSRS Report AX 2012)

    Thanks Abascal  for help but this one also not working.

  • SII1MNL Profile Picture
    1,295 on at
    RE: Page number not in header ( SSRS Report AX 2012)

    I think it only applies on Header and footer page only.

  • Community Member Profile Picture
    on at
    RE: Page number not in header ( SSRS Report AX 2012)

    I agree this funcionality seems disabled on Ax Reports

  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Page number not in header ( SSRS Report AX 2012)

    I disagree. There is content in the link that Abascal posted that will definitely work, however, it was not spelled out clearly enough.

    In summary, you need to modify your query so that the query itself contains a field that represents the page number.

    Then within your report design you need to make sure that your tablix that composes the body is grouped by the page number field of that dataset and that it page breaks between each group.

    Finally, you need to make sure that the tablix contains rectangles (not the default textboxes) so that you can have a lot of flexibility when you are formatting the layout within them.

    Remember, the page number will come from the dataset; it will not be available via the global functions that you would normally use.

  • Srinath Sundaresan Profile Picture
    510 on at
    RE: Page number not in header ( SSRS Report AX 2012)

    There is no relationship between page header/footer area and body area in Reporting Services 2005. That means you cannot pass variable between two areas- page header/footer and the body. So, I’m afraid you cannot use page number on the report body so far. But if you are using reporting services 2008, you can reference dataset fields and dataset aggregations from expressions in the page header and page footer. Here is a discussion about why we cannot use global variables (Page Numbers) in the report body:

    social.msdn.microsoft.com/.../243e6b82-70f5-4051-8b3f-4110f931591f

    One possible workaround is calculating the page number yourself. Suppose the report has 100 records, and one page has 10 row, so using RowNumber()/Count(field,”dataset”) to achieve that. I haven't tried this.

    Please mark this question as answered if this helps.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Abhilash Warrier – Community Spotlight

We are honored to recognize Abhilash Warrier as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Tocauer Profile Picture

Martin Tocauer 4

#2
Community Member Profile Picture

Community Member 2

#2
Nayyar Siddiqi Profile Picture

Nayyar Siddiqi 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans