Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested answer

Is there any way to print the selected line in rdlc report in business central

(0) ShareShare
ReportReport
Posted on by 231

Hi everyone,

I need to print the selected line in rdlc report Eg: there are 5 lines in purchase order subform, i select the last three line using select more option if i click print action button the selected line only need to show.

The report need to print lines which i was selected in purchsae line. is it possible in business central.

Thanks in advance.

  • Suggested answer
    YUN ZHU Profile Picture
    84,557 Super User 2025 Season 1 on at
    RE: Is there any way to print the selected line in rdlc report in business central

    Hi, It may be possible to use Page.SetSelectionFilter(var Record) Method and Report.Run() Method. But this requires redesigning your report, because the Record:Table of the default report is generally Header.

    More details:

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/report/reportinstance-run-method

    https://docs.microsoft.com/en-us/dynamics365/business-central/dev-itpro/developer/methods-auto/page/page-setselectionfilter-method

    pastedimage1649293823916v1.png

    Hope this will help.

    Thanks.

    ZHU

  • yoheswaran Profile Picture
    231 on at
    RE: Is there any way to print the selected line in rdlc report in business central

    is there any code available for visibility condition

  • Suggested answer
    Nitin Verma Profile Picture
    21,565 Moderator on at
    RE: Is there any way to print the selected line in rdlc report in business central

    Hi

    Unfortunately Print button does not work only selected lines, you have to put your condition on Visibility property only.

    So that it prints only selected lines.

    Thanks

  • yoheswaran Profile Picture
    231 on at
    RE: Is there any way to print the selected line in rdlc report in business central

    Thanks for the reply,

    if we can use setselectionfilter to select multiple records, then we can print the lines in report is it possible. in row visibility we can use to condition to view the particular records.

  • Suggested answer
    Nitin Verma Profile Picture
    21,565 Moderator on at
    RE: Is there any way to print the selected line in rdlc report in business central

    Hi yoheswaran ,

    There is no feature in BC to print only selected lines with the RDLC report, Instead of you can write your own condition on Visibility property when designing the report so that only selected lines print.

    Thanks.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
Sohail Ahmed Profile Picture

Sohail Ahmed 1,452

#2
YUN ZHU Profile Picture

YUN ZHU 1,313 Super User 2025 Season 1

#3
Gerardo Rentería García Profile Picture

Gerardo Rentería Ga... 1,083 Most Valuable Professional

Featured topics

Product updates

Dynamics 365 release plans