Skip to main content

Notifications

Announcements

No record found.

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

  • Verified answer
    Community Member Profile Picture
    on at
    RE: SSRS Report printing all records

    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.

  • Verified answer
    Community Member Profile Picture
    on at
    RE: SSRS Report printing all records

    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
    Hanny_Gaoxing Profile Picture
    520 on at
    RE: SSRS Report printing all records

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

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 294,261 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 233,013 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans