Skip to main content

Notifications

Announcements

No record found.

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

How to get count of table record in business central

Posted on by 153
Hi Guys,
 
I want For example: Below is my Usage statistics config page. On that page there is one action i.e show count. when I clicked on that action, it will show the count of selected record.
For example : Here I selected customer, so when we click on action it will show the customer record. i.e., 6 because i have 6 customers as shown image 2
//
Is any way to do this.
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,647 Super User 2024 Season 2 on at
    How to get count of table record in business central
    Hi, you can add a field or variable, and assign this value when inserting a record, or when modifying it.
    Hope this helps.
    Thanks.
    ZHU
  • Nilam Bhor Profile Picture
    Nilam Bhor 153 on at
    How to get count of table record in business central
    I got my count. but instead of message out, I want to display this count on my record count field.
    Is any way to do this.
  • Suggested answer
    YUN ZHU Profile Picture
    YUN ZHU 73,647 Super User 2024 Season 2 on at
    How to get count of table record in business central
    Hi, Looks like there are only five customers. . . . It doesn't matter.
    You can simply use the count method. Below is a simple example.
     
    Hope this helps.
    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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans