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 :
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
    sVerme Profile Picture
    120 on at

    Hi Ibakordor Kharmih,

    please have a look at SetSelectionFilter

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

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    Hi,

    You can try with below code

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

  • Suggested answer
    YUN ZHU Profile Picture
    102,123 Super User 2026 Season 1 on at

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

    https://yzhums.com/5625/

    Thanks.

    ZHU

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 Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

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

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 1,496 Super User 2026 Season 1

#2
YUN ZHU Profile Picture

YUN ZHU 961 Super User 2026 Season 1

#3
Grigorios Mavrogeorgis Profile Picture

Grigorios Mavrogeorgis 870 Super User 2026 Season 1

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans