Hello
I am using Crystal Reports XI and Oracle 9i database.
I have created a report that is grouped by quarter. I am using two parameters(StartDate and EndDate). My Team Lead wants the report to suppress the quarter (i.e. 3rd Quarter) because it does not end until 9/30. I will place the formula in the Select Expert. I have tried several formulas but it has not work. Is there a way to suppress the data if the quarter is not completed.
If {?EndDate} > DateValue (03/31/Year ({?EndDate}))Then
1
else if
{?EndDate} > DateValue (06/30/Year ({?EndDate}))
then
2
else if
{?EndDate} > DateValue (09/30/Year ({?EndDate}))
then
3
else if
{?EndDate} > DateValue (12/31/Year ({?EndDate}))
then
4
Is there a way to suppress the data if the quarter is not completed.
Thanks
Geestrong
I am using Crystal Reports XI and Oracle 9i database.
I have created a report that is grouped by quarter. I am using two parameters(StartDate and EndDate). My Team Lead wants the report to suppress the quarter (i.e. 3rd Quarter) because it does not end until 9/30. I will place the formula in the Select Expert. I have tried several formulas but it has not work. Is there a way to suppress the data if the quarter is not completed.
If {?EndDate} > DateValue (03/31/Year ({?EndDate}))Then
1
else if
{?EndDate} > DateValue (06/30/Year ({?EndDate}))
then
2
else if
{?EndDate} > DateValue (09/30/Year ({?EndDate}))
then
3
else if
{?EndDate} > DateValue (12/31/Year ({?EndDate}))
then
4
Is there a way to suppress the data if the quarter is not completed.
Thanks
Geestrong