Forums / Setup & design / List of Years from EZ-Date datatype in Custom Class

List of Years from EZ-Date datatype in Custom Class

Author Message

Mubdi Rahman

Tuesday 28 December 2004 11:40:53 am

Hi everyone,

I've been having an issue that's been racking my brain for a bit. I have a number of objects in a custom class that has an EZ Date datatype associated with it. In the design, I'd like to separate these objects with a header from the year that they are from. i.e. something like this:

Objects from 1991:

object 1991-1-2
object 1991-11-10
...

Objects from 1992

object 1992-10-5
...

And so on. The objects will change in this section as the users add these objects, and I have no control over the years that the users input, so I can't just manually do independent fetches for each year.

I was thinking about solutions to this problem, and I had a possible solution, only if there was a way to fetch an array of just a list of what years are represented from all of these objects. But I have no clue as to how to do this.

Any help would be appreciated. Thanks.

Mubdi Rahman