Hi everyone,
I need create a crystal report. The report needs to select those records whose latest activity date minus second latest activity date great than 60 day. For example, a person has 10 activities in the database, if the most currently activity date is 11-13-2006, the second currently activity date is 08-01-2006. Then this person will be selected (from 08-01-2006 to 11-13-2006 is more than 60 days). I can use summary to select 1th largest or 2nd largest. But I do not know how I can do the calculation when I generate the report.
Is there any one have any idea about this problem?
Thank you for any ideas /suggestions!!!!!
I need create a crystal report. The report needs to select those records whose latest activity date minus second latest activity date great than 60 day. For example, a person has 10 activities in the database, if the most currently activity date is 11-13-2006, the second currently activity date is 08-01-2006. Then this person will be selected (from 08-01-2006 to 11-13-2006 is more than 60 days). I can use summary to select 1th largest or 2nd largest. But I do not know how I can do the calculation when I generate the report.
Is there any one have any idea about this problem?
Thank you for any ideas /suggestions!!!!!