Quantcast
Channel: Dynamics User Group
Viewing all articles
Browse latest Browse all 15740

Problem with flowfield/range of date

$
0
0

Good morning everyone.

I need help to solve this problem:

I have a table (Table 1) composed by these column

Code1 | Starting Date | Ending Date | Description | Total Ordered Qty.

Total Ordered Qty is a flowfield and the actual CalcFormula is

Sum("Table2".Quantity WHERE (Nr.=FIELD(Code1))).

I need to add also a datefilter for "Starting Date".."Ending Date" so i can see the Ordered Qty by Code and by Period (in Table2 i have a "Order Date" field and i want to use this) .

Now, how can i add a filter like that in Table1?

As far as i know i cannot add it in the flowfield calcformula but I didn't find a way to add a correct SETRANGE.

SETRANGE("Table2"."Order Date", Starting Date, Ending Date ) doesn't work because it's wrong.

Probably there's a very simple solution for this (so please forgive me) but i'm not able to find it and it's driving me crazy.

Thank you in advance

 


Viewing all articles
Browse latest Browse all 15740

Trending Articles