Crystal Reports 8.0, SQL 2000
I am trying to write an effective formula to find the first date (Listing Date) that is the FIRST DATE that is => than the base date (Acq Date) that I am comparing it to.
Being relatively new to Crystal I do not understand if there is a more direct way of getting to the FIRST value rather than having to first find the dates that are => (via subquery?)and then calculate each and every comparison and then use the (MIN) value on the results??
Listing Date field could be any number of values that must be compared.
For example:
Acq Date Listing Date
1/1/2008 10/1/2007
11/12/2007
12/23/2007
1/3/2008
2/23/2008
3/1/2008
Desired Result Output:
"Listing Date" 1/3/2008
I then need to calculate the number of days that have passed which I can do via formula CurrentDate - "Listing Date".
Thanks in advance for any assistance!
I am trying to write an effective formula to find the first date (Listing Date) that is the FIRST DATE that is => than the base date (Acq Date) that I am comparing it to.
Being relatively new to Crystal I do not understand if there is a more direct way of getting to the FIRST value rather than having to first find the dates that are => (via subquery?)and then calculate each and every comparison and then use the (MIN) value on the results??
Listing Date field could be any number of values that must be compared.
For example:
Acq Date Listing Date
1/1/2008 10/1/2007
11/12/2007
12/23/2007
1/3/2008
2/23/2008
3/1/2008
Desired Result Output:
"Listing Date" 1/3/2008
I then need to calculate the number of days that have passed which I can do via formula CurrentDate - "Listing Date".
Thanks in advance for any assistance!