Hi,
I am using Crystal 2008 and am trying to display the actual dates used in my record selection. I have a formula used in the record selection run for quarter period as:
Formula:
If currentdate in Calendar1stQtr
Then {CLIENT.VALUATION_DATE} in date(DateAdd('m',-3,Date(Year(CurrentDate),01,01)))
to Date(Year(CurrentDate)-1,12,31)
Else
If currentdate in Calendar2ndQtr
Then {CLIENT.VALUATION_DATE} in Calendar1stQtr
Else
If currentdate in Calendar3rdQtr
Then {CLIENT.VALUATION_DATE} in Calendar2ndQtr
else
If currentdate in Calendar4thqtr
then {CLIENT.VALUATION_DATE} in Calendar3rdqtr
Now i want to be able to display the {From Date} and {To Date} based on the above record selection.
Basically i have a header title in the report that reads: Client information with Data: {From Date} to {To Date}.
can anyone help please.
Thanks
I am using Crystal 2008 and am trying to display the actual dates used in my record selection. I have a formula used in the record selection run for quarter period as:
Formula:
If currentdate in Calendar1stQtr
Then {CLIENT.VALUATION_DATE} in date(DateAdd('m',-3,Date(Year(CurrentDate),01,01)))
to Date(Year(CurrentDate)-1,12,31)
Else
If currentdate in Calendar2ndQtr
Then {CLIENT.VALUATION_DATE} in Calendar1stQtr
Else
If currentdate in Calendar3rdQtr
Then {CLIENT.VALUATION_DATE} in Calendar2ndQtr
else
If currentdate in Calendar4thqtr
then {CLIENT.VALUATION_DATE} in Calendar3rdqtr
Now i want to be able to display the {From Date} and {To Date} based on the above record selection.
Basically i have a header title in the report that reads: Client information with Data: {From Date} to {To Date}.
can anyone help please.
Thanks