Re: Is there an easy way
Re: Is there an easy way
- Subject: Re: Is there an easy way
- From: John Larson <email@hidden>
- Date: Sun, 4 Mar 2007 19:18:44 -0600
A method that I use often relies on the creation of a dictionary with
the month for the key and a mutable array for the value. After you
get the records, get the appropriate array, and add the record to
it. You should initialize the dictionary with each month first in
case there are empty months. Then you can use a repetition with the
allKeys field of the dictionary and nest a repetition for the array
within there. I'm leaving out detail, but write back if you need
more help.
John
On Feb 22, 2007, at 10:12 AM, Gino Pacitti wrote:
Hi All
Can anyone help with a little problem
I have a table with records that contains a Date and I need to sort
them so that I have repetition of every month. Current and trailing
11.
So:
Febuary
January
December
etc..
And if the current month was June is would be:
June
May
April
March
Etc..
Then I need to be able to click in and see the full list of records
for any given month.
What would be a good way to achieve this?
Would RawRawsForSQL or is there some nested repetition that might
suit?
Best
Gino
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40mac.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden