synapsevampire gave me help with this earlier thread767-1214692 for a record selector question. This is in regards to this thread. The user wants to see agents contracted from July of last year until July of this year (starting over every July). If they are contracted in December '06 then they would need to stay on the report through May '07. How can I change the record selector formula to keep the records that may fall off at the end of the year? For now it's getting data from July '05 to July '06 but in July '05 it will start getting data from July '06 to July '07 and I will lose the data it's accumulated so far from the previous year.
Thanks.
if currentdate > cdate(year(currentdate),7,31) then
(
{field.CONTRACT_DTE} > cDate(year(currentdate),7,31)
and
{field.CONTRACT_DTE} <= Date(year(currentdate)+1,07,31)
)
else
if currentdate <= cdate(year(currentdate),7,31) then
(
{field.CONTRACT_DTE} > cDate(year(currentdate)-1,7,31)
and
{field.CONTRACT_DTE} <= Date(year(currentdate),07,31)
)
Thanks.
if currentdate > cdate(year(currentdate),7,31) then
(
{field.CONTRACT_DTE} > cDate(year(currentdate),7,31)
and
{field.CONTRACT_DTE} <= Date(year(currentdate)+1,07,31)
)
else
if currentdate <= cdate(year(currentdate),7,31) then
(
{field.CONTRACT_DTE} > cDate(year(currentdate)-1,7,31)
and
{field.CONTRACT_DTE} <= Date(year(currentdate),07,31)
)