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

Community site session details

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

Display selected number of records by the total number of records in Customer list

(0) ShareShare
ReportReport
Posted on by 111

I want to display how many records are selected in the customer list page out of the total number of records in Business Central. Can someone help me with this?

I have the same question (0)
  • Suggested answer
    YUN ZHU Profile Picture
    88,163 Super User 2025 Season 2 on at
    RE: Display selected number of records by the total number of records in Customer list

    Hi, hope the following can give you some hints as well.

    https://yzhums.com/5625/

    Thanks.

    ZHU

  • Suggested answer
    Nitin Verma Profile Picture
    21,575 Moderator on at
    RE: Display selected number of records by the total number of records in Customer list

    Hi,

    You can try with below code

                                CurrPage.SetSelectionFilter(yourrecord);
                                yourrecord := rec;
                                if yourrecord.FindSet() then
                                   totalcoount := yourrecord.count;

  • Suggested answer
    sVerme Profile Picture
    120 on at
    RE: Display selected number of records by the total number of records in Customer list

    Hi Ibakordor Kharmih,

    please have a look at SetSelectionFilter

    SetSelectionFilter gets the selected records, and you can just do a .Count() after getting them. 

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

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Announcing our 2025 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

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

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans