Re: Predicate Builder & Fetched Properties
Re: Predicate Builder & Fetched Properties
- Subject: Re: Predicate Builder & Fetched Properties
- From: Óscar Morales Vivó <email@hidden>
- Date: Tue, 5 Jul 2005 13:48:49 -0400
Right click on the white space to the right of the field where you
put the constant for more options. You may find what you want there.
(biggest UI klutz by Apple in a decade).
On Jul 5, 2005, at 13:31 , Jeff LaMarche wrote:
I'm playing around with fetched properties, and I thought I
understood them, but I'm trying to do something fairly basic, and
cannot figure out how to do it based on Apple's Doc.
Okay, let's say I've got an entity called People with an attribute
called birthYear. Then I want to create a smartlist that shows all
people with a specified birth year.
So I create my smartlist entity, with one attribute (year), and one
fetched property that references the People object. I go into the
predicate builder and select the birthYear attribute for the left
hand side of the equation, and select "=" for the operator. Now,
there doesn't appear to be any way to specify an attribute from the
smart list entity on the right hand side. I can choose a constant
or another attribute from the Person entity. I've tried using using
$FETCH_SOURCE but it tells me it can't parse it.
Now I know how to do this with code, but it seems like I should be
able to do this right in the predicate builder? Can anyone help me
out here?
Thanks,
Jeff
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden