Re: WORepetition Woes
Re: WORepetition Woes
- Subject: Re: WORepetition Woes
- From: Jonathan Rochkind <email@hidden>
- Date: Thu, 8 Jan 2004 10:55:00 -0600
You need to eliminate the duplicate values BEFORE you pass the
NSArray as a list to the WORepetition. Depending on the nature of
the 'duplication', one simple way to do this is:
NSArray originalListWithDuplicates; //assume exists
NSSet uniqueingSet = new NSSet( originalListWithDuplicates );
NSArray newListWithoutDuplicates = uniqueingSet.allObjects();
At 11:27 AM -0500 1/8/04, Janice M. Cheung wrote:
Greetings!
Happy New Year!
I have a question concerning WORepetitions.. is it possible to
suppress duplicate
values in a WORepetition? There is a very rigid template that
our queries must
adhere to, and the return of duplicate values are wreaking havoc
on the alignment
of our on-line phonebook.
(The placement of a WORepetition within a WORepetition is also
having similar
adverse effects on table alignment).
If anyone has any suggestions or advice, I would be eternally grateful!
Best wishes for the new year!
Janice :-)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.