i am trying to create a static date range for a report.. basically i want any {PURCHASE_ORDER.DESIRED_RECV_DATE} dates that are 3 days before the currentdate to 14 days in he future.
BettyJ's suggestion is absolutely correct, however it is worth noting that when adding/subtracting whole days it is not necessary to use the DateAdd function - you can simply add or subtract the number of days as follows:
Code:
{PURCHASE_ORDER.DESIRED_RECV_DATE} in (CurrentDate-3) to (CurrentDate+14)
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.