<-- Business user, please don't flame me... :)
I haven't used CR 11 very much (noob), but I have a critical deliverable where I am stuck on the last detail... Any help would be immensely appreciated!
I have a column that is calculating a date + 180 days based on logic conditions in other fields, and I am suppressing the date when the conditions are false.
Formula #1 is below and it works great.
WhilePrintingRecords;
DateVar dep_date;
dep_date := Date({a.date} + 181)
However, I'm trying to put a max function (Formula #2) in to pull the last date that is not suppressed in that group and for the life of me, I can't figure the code out.
WhilePrintingRecords;
datevar ddd;
ddd:=maximum(dep_date)
// returns an error "The ) is missing"
I'm guessing that the variable is not being set due to the suppression, but I can't figure out how to get around it? If I don't suppress, then the max function just pulls the last date in the group.
Please advise oh gurus of crystal!

- Isaac
Edit: This may look like a re-post, but the issue is different than the one listed a few lines down... (imo)
2nd edit: Could this be because I'm trying to aggregate a formula field and not a database field?
Edited by isaacb - 19 Feb 2009 at 4:42pm