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)

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

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