Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Select Distinct with EOF



Hi,


Yves Custeau wrote:
> How can I do the equivalent of SELECT DISTINCT directly from an
> EODisplayGroup when I fetch?

You can't set this through the graphical user interface, but you can 
add it programatically (i.e. accessing to the EODatabaseDataSource's 
EOFetchSpecification) or you can add it statically to the related 
"*.woo" file instead:

	[...]
     variables = {
         displayGroup = {
			[...]
             dataSource = {
				[...]
                 fetchSpecification = {
                     usesDistinct = YES;
					[...]

--
Francis Labrie
Saint-Bruno-de-Montarville, Quebec, Canada
_______________________________________________
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.


References: 
 >Select Distinct with EOF (From: Yves Custeau <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.