I have a formula (@Date_Sort) that I use as a group in my report. It’s used to conditionally sort the group by a date field.
If {tabel.stringfield} = "Cond1" Then {tabel.datefield1} Else
If {tabel. stringfield} = "Cond2" Then {tabel.datefield1} Else
If {tabel. stringfield} = "Cond3" Then {tabel.datefield2} Else
If {tabel. stringfield} = "Cond4" Then {tabel.datefield2} Else
If {tabel. stringfield} = "Cond5" Then {tabel.datefield2}
The group is sorted in Descending order.
However, I’ve been tasked to have the report sort by date in Ascending order when one of the conditions (Cond3) in the formula is met.
Is this possible?
Thanks for any/all suggestions and/or help!!!
- Tom
If {tabel.stringfield} = "Cond1" Then {tabel.datefield1} Else
If {tabel. stringfield} = "Cond2" Then {tabel.datefield1} Else
If {tabel. stringfield} = "Cond3" Then {tabel.datefield2} Else
If {tabel. stringfield} = "Cond4" Then {tabel.datefield2} Else
If {tabel. stringfield} = "Cond5" Then {tabel.datefield2}
The group is sorted in Descending order.
However, I’ve been tasked to have the report sort by date in Ascending order when one of the conditions (Cond3) in the formula is met.
Is this possible?
Thanks for any/all suggestions and/or help!!!
- Tom