Page 1 of 1

Max Date

Posted: Wed Sep 15, 2010 9:49 am
by MikeC
I have a form that I'm working on that has a couple of data bands in panels. In one of the databands I need to filter for only the max date on a field (property transfer dates). For example, the parcel may have several transfer dates but I don't want a list, I only want to pull a single record with the most current transfer date on it.

How do I set a filter on the data band that only pulls the max date?

Max Date

Posted: Thu Sep 16, 2010 6:08 am
by Ivan
Hello,

Please do the following:
- set the Sort property of databand: your_date_field, Descending
- set the Filter property of databand: Field is "Expression", "YourDataSource.Position == 0"

Thank you.

Max Date

Posted: Thu Sep 16, 2010 10:37 am
by MikeC
Thanks-that worked.

Max Date

Posted: Thu Sep 16, 2010 12:11 pm
by Andrew
Hello,

Thank you for letting us know about this.