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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

AX 2012 SSRS Printing lines issue

(0) ShareShare
ReportReport
Posted on by 55

Hello,

 

I have recently encountered an issue while trying to do the following in an SSRS report for AX 2012, inside a tablix control, in the Body section:

 

Header (static) line

Title line

Should print on all pages

Header (static) line

Address line

Should print only on first page

Header (static) line

More information line

Should print on all pages

Details line

Group line(s)

Should print on all pages

 

 

Because the tablix control is located in the Body section of the report, I cannot access the global variables related to page numbers, so I cannot set the visibility of the second line based on that.

Also, I cannot put these lines in the header of the report because the white lines of space in the header when a line is not shown are not acceptable, and the header is not resizeable at runtime.

 

I have also tried the following, with no success:

  • Set property „Repeat on new page” for each line accordingly, but SSRS will not allow consecutive lines to have different values for this property (so they must all have „true” or „false”).
  • Insert new field in datasource which will contain the record number or page number and use this value for showing or hiding the line : this doesn’t work because the header of the tablix only reads the first records from the datasource, even if the controls are printed on the second page.
  • Try to use report variables and functions: this is not possible in SSRS over AX and results in „unknown identifier” error when building the solution.
  • Try to use data methods: I haven’t found a way to access the report context or variables to get the page number.

 

I have suggested, as a workaround, to either permit the second line to be visible on all pages or move it above the title line, but these solutions are not accepted.

Does anyone have any idea to solve this?

*This post is locked for comments

I have the same question (0)
  • Umesh Pandit Profile Picture
    9,315 User Group Leader on at
  • Suggested answer
    venkatesh vadlamani Profile Picture
    3,180 on at

    Header title , use page header for this

    For Header with address use Text box  or a different tablix without detail ,above the main body tablix , this will ensure it is on first execution and first page itself

    For remaining part use the a tablix with header to repeat on each page , by using Advance  options on the grouping pane below the design page and set the repeat on new page and keep together properties

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…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans