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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

SSRS Report printing all records

(0) ShareShare
ReportReport
Posted on by

I've created SSRS report through visual studio and used Report data provider as Data Source Type.

The issue I'm facing is that every time print report menu button is clicked on a form, it prints all the records entered on the form.

For example, if I have 2 sets of record entered on the form and If I click print report, 2 pages of report would show up in preview.

It would be good if only one record set prints at a time. Is there something I'm missing in the code?

Thanks in advance for your help!

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Hanny_Gaoxing Profile Picture
    520 on at

    check your tabletype status that you using for data provider. change to tempdb status.

  • Verified answer
    Community Member Profile Picture
    on at

    you need to consider proper design of your report as per requirement

    You need to consider and specify page break after a set of record.

    please review following link

    technet.microsoft.com/.../ms156434(v=sql.100).aspx

    Please verify if you need more information

  • Verified answer
    Community Member Profile Picture
    on at

    if you need to show only one record as per selected record on the form

    You need to consider implementing Controller class for your SSRS report

    in  this Controller class you will be basically able to filter the record.

    you need to override following methods

    prePromptModifyContract()

    preRunModifyContract()

    consider reviewing SalesInvoiceController class in standard AX for more understanding

    please verify and update us if this helps you.

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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans