0

I need to have a date parameter to then have a formula to pull 4th quarter from previous year and first 3 qtrs of the current year. I know for the 4th qtr I would need to do that as a sub-report since i need to pull the last record for that qtr. How would I be able to do this.

Any help is greatly appreciated.

4

1 回答 1

1

您不需要子报表来执行此操作。你可以用这样的东西得到你想要的日期范围。(注意,变量的使用是不必要的,只是为了说明逻辑。您可以在记录选择公式中省略它们。)

local datevar DateBegin := date(year(currentdate)-1,10,01); //Oct. 1 of last year
local datevar DateEnd := date(year(currentdate),09,30); //Sep. 30 of current year

{Date.Field} in DateBegin to DateEnd
于 2013-07-30T16:25:28.227 回答