Good afternoon,
I have a report that I need to only pull records that are within plus or minus 7 days of current date.
This is what I have:
First, I have to choose between the need date or the promise date. (which works fine)
Formula:
Second, I have created another date field in order to pull only records that are within plus or minus 7 days of current date. (which does not work)
The results that I get are all records within the last 7 days but no records for the next seven days.
Can someone tell me what I am doing wrong?
Thank you in advance for your help.
Clay
I have a report that I need to only pull records that are within plus or minus 7 days of current date.
This is what I have:
First, I have to choose between the need date or the promise date. (which works fine)
Formula:
Code:
IF {@PROMISE DATE} = 'NULL' THEN
{ASI_PURCHASE_ORDER.NEED_DATE} ELSE
{ASI_PURCHASE_ORDER.PROMISE_DATE}
Second, I have created another date field in order to pull only records that are within plus or minus 7 days of current date. (which does not work)
Code:
if {@EXPECTED ON DOCK DATE} IN Last7Days and
{@EXPECTED ON DOCK DATE} IN Next30Days THEN
{@EXPECTED ON DOCK DATE}
The results that I get are all records within the last 7 days but no records for the next seven days.
Can someone tell me what I am doing wrong?
Thank you in advance for your help.
Clay