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

Unanswered

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.

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

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.

Reply

SBX - Two Col Forum

SBX - Migrated JS