Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics NAV (Archived)

Count total no. of records in a particular days.

(0) ShareShare
ReportReport
Posted on by 1,893

Dear Experts,
I want to make a mail report where I want to show the total no of posted records in a particular days. What is the syntax for count the no. of records.

For example I want to show the data like this.

4645.Audit.png

*This post is locked for comments

  • manish.yadav Profile Picture
    1,893 on at
    RE: Count total no. of records in a particular days.

    Please close it.

    I have done it through

    recPurchRcptHeader.RESET;

    recPurchRcptHeader.SETRANGE("Posting Date", TODAY );

    IF recPurchRcptHeader.FINDSET THEN

      NoOfDocument := recPurchRcptHeader.COUNT;

    Here NoOfDocument  is a integer type variable.

    No. query is resolved.

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

News and Announcements

Now Available: 2025 Release Wave 2

Quick Links

Ramesh Kumar – Community Spotlight

We are honored to recognize Ramesh Kumar as our July 2025 Community…

Congratulations to the June 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 > 🔒一 Microsoft Dynamics NAV (Archived)

#1
Community Member Profile Picture

Community Member 2

#2
EH-09052238-0 Profile Picture

EH-09052238-0 1

#2
Sohail Ahmed Profile Picture

Sohail Ahmed 1

Featured topics

Product updates

Dynamics 365 release plans