SBX - Search With Button

SBX - Forum Post Title

Count total no. of records in a particular days.

Microsoft Dynamics NAV Forum

NAV Beginners asked a question on 12 Jun 2019 12:30 AM
My Badges

Question Status


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.

NAV Beginners responded on 12 Jun 2019 12:48 AM
My Badges

Please close it.

I have done it through


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

IF recPurchRcptHeader.FINDSET THEN

  NoOfDocument := recPurchRcptHeader.COUNT;

Here NoOfDocument  is a integer type variable.

No. query is resolved.


SBX - Two Col Forum

SBX - Migrated JS