jrcol12357
Programmer
Using CRXI I wish to report on the previous quarter. How do I handle the 4th quarter of last year when the report is run in 1st quarter of the new year? I belive what I have will not look at the previous calendar 4th quarter.
if currentdate in Calendar1stQtr then {VW_RPT_P688_UNION_d.DISBURSEMENT_DATE} in Calendar4thQtr else
if currentdate in Calendar2ndQtr then {VW_RPT_P688_UNION_d.DISBURSEMENT_DATE} in Calendar1stQtr else
if currentdate in Calendar3rdQtr then {VW_RPT_P688_UNION_d.DISBURSEMENT_DATE} in Calendar2ndQtr else
{VW_RPT_P688_UNION_d.DISBURSEMENT_DATE} in Calendar3rdQtr
In searching for a solution all Calendar4thQtr is based on the current year.
if currentdate in Calendar1stQtr then {VW_RPT_P688_UNION_d.DISBURSEMENT_DATE} in Calendar4thQtr else
if currentdate in Calendar2ndQtr then {VW_RPT_P688_UNION_d.DISBURSEMENT_DATE} in Calendar1stQtr else
if currentdate in Calendar3rdQtr then {VW_RPT_P688_UNION_d.DISBURSEMENT_DATE} in Calendar2ndQtr else
{VW_RPT_P688_UNION_d.DISBURSEMENT_DATE} in Calendar3rdQtr
In searching for a solution all Calendar4thQtr is based on the current year.