Quantcast
Channel: Dynamics 365 Business Central/NAV User Group
Viewing all articles
Browse latest Browse all 11285

Forum Post: RE: Get Month Wise data Using Date Table

$
0
0
Hi, In that case i think you want to use the Date Table for filtering value entries? If that is the case then you can do something like this - StartDate = 01012016D (Assume Value ) EndDate := CalcDate('1M-1D',StartDate); (Give you month End Date) FOR I = 1 To 12 DO BEGIN (IF you plan to run for 12 months) //Code Whatever you require with ValueEntry.Setrange("Posting Date",StartDate,EndDate); StartDate := CalcDate('1M',StartDate); EndDate := CalcDate('1M-1D',StartDate); END; Hope it helps.

Viewing all articles
Browse latest Browse all 11285

Trending Articles